Gregory Ballantine
6d1a24cefb
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
12 lines
258 B
Go
12 lines
258 B
Go
package util
|
|
|
|
import "testing"
|
|
|
|
func TestFilenameWithoutExtension(t *testing.T) {
|
|
filename := FilenameWithoutExtension("testfile.txt")
|
|
|
|
if filename != "testfile" {
|
|
t.Logf("FilenameWithoutExtension returned '%s'; it should be 'testfile'.", filename)
|
|
}
|
|
}
|