Skip to content

Commit

Permalink
Fatalf in TestSysconf if Sysconf fails
Browse files Browse the repository at this point in the history
  • Loading branch information
tklauser committed Jan 28, 2022
1 parent 06c18c2 commit 9c064e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysconf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestSysconf(t *testing.T) {
// C.sysconf are in the test directory.
val, err := sysconf.Sysconf(sysconf.SC_CLK_TCK)
if err != nil {
t.Errorf("Sysconf(SC_CLK_TCK): %v", err)
t.Fatalf("Sysconf(SC_CLK_TCK): %v", err)
}
t.Logf("clock ticks = %v", val)

Expand Down

0 comments on commit 9c064e6

Please sign in to comment.