1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From: =?utf-8?b?SsOpcsO0bWUgQ2hhcmFvdWk=?= <jerome@riseup.net>
Date: Wed, 16 Nov 2022 08:32:17 -0500
Subject: Fix testRevision testcase
Upstream expects revision numbers to consist of a partial git commit id,
however we define it as the Debian package version, so it length may
vary.
Forwarded: not-needed
---
core/src/test/java/org/jruby/test/TestRuby.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/test/java/org/jruby/test/TestRuby.java b/core/src/test/java/org/jruby/test/TestRuby.java
index 70b1fbc..c8d4e12 100644
--- a/core/src/test/java/org/jruby/test/TestRuby.java
+++ b/core/src/test/java/org/jruby/test/TestRuby.java
@@ -198,7 +198,7 @@ public class TestRuby extends Base {
// Test that the revision is being populated correctly. jruby/jruby#6090
public void testRevision() {
- assertTrue(Constants.REVISION.length() == 40);
+ // assertTrue(Constants.REVISION.length() == 40);
assertFalse(Constants.REVISION.equals(Constants.BOGUS_REVISION));
}
}
|