tUse Compat.Sys for OS check - Granular.jl - Julia package for granular dynamic… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 7ca1f0b08ff35044b7ae9bbc500b61f642d77da1 | |
parent cfbc4ba624fda848ca9576f1db813e411747a471 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 15 Jan 2018 10:41:02 -0500 | |
Use Compat.Sys for OS check | |
Diffstat: | |
M test/grid-boundaries.jl | 3 ++- | |
1 file changed, 2 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/test/grid-boundaries.jl b/test/grid-boundaries.jl | |
t@@ -1,4 +1,5 @@ | |
#!/usr/bin/env julia | |
+import Compat | |
info("#### $(basename(@__FILE__)) ####") | |
t@@ -14,7 +15,7 @@ ocean = Granular.createEmptyOcean() | |
@test ocean.bc_north == 1 | |
@test ocean.bc_south == 1 | |
-if !is_windows() | |
+if !Compat.Sys.iswindows() | |
const originalSTDOUT = STDOUT | |
(out_r, out_w) = redirect_stdout() | |
Granular.reportGridBoundaryConditions(ocean) |