diff options
Diffstat (limited to 'src/util/util_test.go')
-rw-r--r-- | src/util/util_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/util_test.go b/src/util/util_test.go index 534eeb71..27e7a049 100644 --- a/src/util/util_test.go +++ b/src/util/util_test.go @@ -70,7 +70,7 @@ func TestMin32(t *testing.T) { } } -func TestContrain(t *testing.T) { +func TestConstrain(t *testing.T) { if Constrain(-3, -1, 3) != -1 { t.Error("Expected", -1) } @@ -83,7 +83,7 @@ func TestContrain(t *testing.T) { } } -func TestContrain32(t *testing.T) { +func TestConstrain32(t *testing.T) { if Constrain32(-3, -1, 3) != -1 { t.Error("Expected", -1) } |