Skip to content

Commit

Permalink
javaVmName -> java.vm.name to make scala.js happy
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Oct 14, 2017
1 parent 82c7628 commit 0348159
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -993,7 +993,7 @@ object ByteTests extends TestSuite {
//
// The underlying code isn't affected by that issue, so just skip the tests

if (scala.util.Properties.javaVmName != "Scala Native") {
if (System.getProperty("java.vm.name") != "Scala Native") {
var count = 0
var firstValue: Option[T] = None
var lastValue: Option[T] = None
Expand Down

0 comments on commit 0348159

Please sign in to comment.