Skip to content

Commit c231b93

Browse files
committed
sdl: filesystem_test.go: Run TestGetBasePath only on SDL >= 2.0.1
Signed-off-by: Lilis Iskandar <[email protected]>
1 parent 87aaee2 commit c231b93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sdl/filesystem_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ import (
55
)
66

77
func TestGetBasePath(t *testing.T) {
8+
if !VERSION_ATLEAST(2,0,1) {
9+
return
10+
}
11+
812
Do(func() {
913
Init(INIT_EVERYTHING)
1014
path := GetBasePath()

0 commit comments

Comments
 (0)