Skip to content

Commit

Permalink
Fix typo in function name
Browse files Browse the repository at this point in the history
  • Loading branch information
farshidtz committed Jul 4, 2024
1 parent 4e0d74a commit 5304a22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func writeLogFile(t *testing.T, label string, b []byte) {
)
}

func waitForOnOffHandingByAllClustersApp(t *testing.T, start time.Time) {
func waitForOnOffHandlingByAllClustersApp(t *testing.T, start time.Time) {
// 0x6 is the Matter Cluster ID for on-off
// Using cluster ID here because of a buffering issue in the log stream:
// https://github.com/canonical/chip-tool-snap/pull/69#issuecomment-2207189962
Expand Down
4 changes: 2 additions & 2 deletions tests/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func TestUpgrade(t *testing.T) {
stdout, _, _ := utils.Exec(t, "sudo chip-tool onoff on 110 1 2>&1")
writeLogFile(t, "chip-tool-onoff", []byte(stdout))

waitForOnOffHandingByAllClustersApp(t, start)
waitForOnOffHandlingByAllClustersApp(t, start)
})

t.Run("Upgrade snap", func(t *testing.T) {
Expand All @@ -77,7 +77,7 @@ func TestUpgrade(t *testing.T) {
stdout, _, _ := utils.Exec(t, "sudo chip-tool onoff off 110 1 2>&1")
writeLogFile(t, "chip-tool-onoff", []byte(stdout))

waitForOnOffHandingByAllClustersApp(t, start)
waitForOnOffHandlingByAllClustersApp(t, start)
})

}
2 changes: 1 addition & 1 deletion tests/wifi_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func TestAllClustersAppWiFi(t *testing.T) {
stdout, _, _ := utils.Exec(t, "sudo chip-tool onoff toggle 110 1 2>&1")
writeLogFile(t, "chip-tool-toggle", []byte(stdout))

waitForOnOffHandingByAllClustersApp(t, start)
waitForOnOffHandlingByAllClustersApp(t, start)
})

}

0 comments on commit 5304a22

Please sign in to comment.