We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d487864 commit 87aaee2Copy full SHA for 87aaee2
sdl/cpuinfo_test.go
@@ -18,7 +18,7 @@ func TestGetCPUCacheLineSize(t *testing.T) {
18
}
19
20
func TestGetSystemRAM(t *testing.T) {
21
- if GetSystemRAM() <= 0 {
+ if VERSION_ATLEAST(2,0,1) && GetSystemRAM() <= 0 {
22
t.Error("GetSystemRAM(): wrong return value")
23
24
0 commit comments