From 3364d4d147ade148d8e5dd67609e46f0ef6c50fc Mon Sep 17 00:00:00 2001 From: Zhizhen He Date: Wed, 22 Feb 2023 23:36:04 +0800 Subject: Add spell check workflow (#3183) --- src/util/util_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util/util_test.go') 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) } -- cgit v1.2.3