Skip to content

Commit ee24c29

Browse files
committed
fix tests
1 parent b36adc7 commit ee24c29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/orchestrator/bricks/bricks_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ func TestAppBrickInstancesList(t *testing.T) {
865865
ID: "arduino:with-hidden-vars",
866866
Variables: map[string]string{
867867
"HIDDEN_VAR": "/this/is/a/new/hidden/value",
868-
"VISIBLE_VAR": "/this/isa/new/visible/value",
868+
"VISIBLE_VAR": "/this/is/a/new/visible/value",
869869
},
870870
},
871871
},
@@ -875,11 +875,11 @@ func TestAppBrickInstancesList(t *testing.T) {
875875
require.Len(t, res.BrickInstances, 1)
876876
brick := res.BrickInstances[0]
877877
require.Equal(t, "arduino:with-hidden-vars", brick.ID)
878-
want := []BrickConfigVariable{
878+
expected := []BrickConfigVariable{
879879
{Name: "VISIBLE_VAR", Value: "/this/is/a/new/visible/value"},
880880
{Name: "VISIBLE_VAR_IF_MISSING", Value: "/i/am/visible"},
881881
}
882-
require.Equal(t, want, brick.ConfigVariables)
882+
require.Equal(t, expected, brick.ConfigVariables)
883883
},
884884
},
885885
}

0 commit comments

Comments
 (0)