260409.1 · c5170080c23ce9a21b921871a4abef33ecbaa4d0
Fix expected bell count in beep_test.go
Fix the failure message in demos/beep TestBeep to match the actual assertion.
The test checks that the bell count is 3, but the error message currently says "!= 2". This does not affect test
behavior, but it makes failures misleading and harder to debug.
reading declarations
Changes to demos/beep/. All files
@@ -61,6 +61,6 @@ func TestBeep(t *testing.T) { wg.Wait() if cnt := mt.Bells(); cnt != 3 {- t.Errorf("incorrect bell count %d != 2", cnt)+ t.Errorf("incorrect bell count %d != 3", cnt) } }