Merge pull request #6691 from alvasw/fix_broken_price_test_test_parse

core: Fix broken PriceTest.testParse test
This commit is contained in:
Alejandro García 2023-05-13 15:32:56 +00:00 committed by GitHub
commit ef4c855580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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."
);
}
}