Skip to content

Commit ae1ee5c

Browse files
Update internal/integrationtest/board/board_test.go
Co-authored-by: Cristian Maglie <[email protected]>
1 parent 14e6927 commit ae1ee5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: internal/integrationtest/board/board_test.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ func TestBoardListall(t *testing.T) {
108108
}`)
109109

110110
// Check if the boards' "latest" value is not empty
111-
requirejson.Query(t, stdout, ".boards | .[] | .platform | .latest != \"\"", "true")
111+
requirejson.Parse(t, stdout).
112+
Query(`[ .boards | .[] | .platform | select(.latest == "") ]`).
113+
MustBeEmpty()
112114
}
113115

114116
func TestBoardListallWithManuallyInstalledPlatform(t *testing.T) {

0 commit comments

Comments
 (0)