fix misuse of break, clean up tests

This commit is contained in:
Aneurin Barker Snook
2023-10-08 16:04:03 +01:00
parent 1fa7101a70
commit a94c9f93d3
2 changed files with 13 additions and 1 deletions
+1
View File
@@ -31,6 +31,7 @@ func TestReadParams(t *testing.T) {
t.Errorf("Expected empty slice, got nil")
continue
}
if len(params) != len(tc.Output) {
t.Errorf("Expected %d parameters", len(tc.Output))
}