We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9153323 commit e4f8e7bCopy full SHA for e4f8e7b
utils_test.go
@@ -0,0 +1,11 @@
1
+package main
2
+
3
+import "testing"
4
5
+func TestWordify(t *testing.T) {
6
+ actual := wordify("Hello World 42 !!")
7
+ expected := "Hello_World_42"
8
+ if actual != expected {
9
+ t.Errorf("returned value is invalid [actual: %s][expected: %s]", actual, expected)
10
+ }
11
+}
0 commit comments