Skip to content

Commit d183dae

Browse files
committed
fix: correct typo in TODO comment for variable handling in tests
1 parent 95728f2 commit d183dae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Taskfile.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ tasks:
173173
cmds:
174174
- rm ./build/*.deb || true
175175
- task: build-deb
176+
vars: { VERSION: v1.0.0 }
176177
- adb shell rm /tmp/*.deb || true
177178
- adb push ./build/arduino-app-cli_*_arm64.deb /tmp/
178179
- ./scripts/run-remote-sudo.sh "dpkg -i /tmp/arduino-app-cli*_arm64.deb && needrestart -r a"

internal/orchestrator/bricks/bricks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ func TestUdateBrick(t *testing.T) {
149149
require.Equal(t, "variable \"NON_EXISTING_VARIABLE\" does not exist on brick \"arduino:arduino_cloud\"", err.Error())
150150
})
151151

152-
// TODO: allow to set an empty "" varaible
152+
// TODO: allow to set an empty "" variable
153153
t.Run("fails if a required variable is set empty", func(t *testing.T) {
154154
req := BrickCreateUpdateRequest{ID: "arduino:arduino_cloud", Variables: map[string]string{
155155
"ARDUINO_DEVICE_ID": "",

0 commit comments

Comments
 (0)