Permalink
Browse files

constant test disabled in debug builds, since unoptimized code is har…

…der to reason about in this case
  • Loading branch information...
1 parent 032b793 commit 7ae9a8d06e9eb11374a5c31f0b1cfadc3f267227 @kevin-montrose committed Jan 9, 2017
Showing with 1 addition and 2 deletions.
  1. +0 −1 Jil.Core/project.json
  2. +1 −1 JilTests/UtilsTests.cs
@@ -31,6 +31,5 @@
"define": [ "EXHAUSTIVE_TEST" ]
}
}
-
}
}
@@ -431,7 +431,7 @@ public void ConstantFields()
Assert.AreEqual("\"A\"", Jil.Common.ExtensionMethods.GetConstantJSONStringEquivalent(typeof(_ConstantFields).GetField("ULE"), false));
}
-#if !NETCORE
+#if !NETCORE && !DEBUG
#pragma warning disable 0649
class _IsConstant

0 comments on commit 7ae9a8d

Please sign in to comment.