Commit Graph

3 Commits

Author SHA1 Message Date
Matthieu MOREL
0a71106a68 fix: use testify instead of t.Fatal or t.Error in pkg package (part 1)
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-12-11 07:57:37 +01:00
Jes Cok
eef8636f35 pkg/stringutil: sort 'ss' in TestUniqueStrings
From the algorithm below, 'ss' should be sorted.

Also removes 'fmt.Println', because the idiomatic tests would not print.

Signed-off-by: Jes Cok <xigua67damn@gmail.com>
2023-09-27 22:41:16 +08:00
Gyuho Lee
f53c153fa9 pkg/stringutil: add tests
For later "runner" cleanup

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2018-04-08 14:18:09 -07:00