core: Fix broken PriceTest.testParse test

Relates to #6619
This commit is contained in:
Alva Swanson 2023-05-09 13:19:22 +02:00
parent 2e892bf90a
commit 734650d43e
No known key found for this signature in database
GPG Key ID: 004760E77F753090

View File

@ -86,9 +86,9 @@ public class PriceTest {
fail("Expected IllegalArgumentException to be thrown when too many decimals are used.");
} catch (IllegalArgumentException iae) {
assertEquals(
"Unexpected exception message.",
"java.lang.ArithmeticException: Rounding necessary",
iae.getMessage()
iae.getMessage(),
"Unexpected exception message."
);
}
}