Skip to content

Commit

Permalink
JNG-5710 validation for identifiers cannot be decimal numbers (#233)
Browse files Browse the repository at this point in the history

* fix tests

* JNG-5710 [Release] Updating versions

* JNG-5710 [Release] Updating versions
  • Loading branch information
gaborflorian authored Apr 30, 2024
1 parent 2da337a commit 2e2a7b4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ void testDefaultValues() throws Exception {

assertDefault("LiteralEntityWithIdentifiers", "idBooleanLiteral", "true", () -> assertBooleanType("Boolean"));
assertDefault("LiteralEntityWithIdentifiers", "idIntLiteral", "1", () -> assertNumericType("Integer"));
assertDefault("LiteralEntityWithIdentifiers", "idDecimalLiteral", "1.23", () -> assertNumericType("Decimal"));
assertDefault("LiteralEntityWithIdentifiers", "idEscapedStringLiteral", "\"escaped\nstring\"", () -> assertStringType("String"));
assertDefault("LiteralEntityWithIdentifiers", "idRawStringLiteral", "\"raw\\nstring\"", () -> assertStringType("String"));
assertDefault("LiteralEntityWithIdentifiers", "idDateLiteral", "`2020-02-18`", () -> assertDateType("Date"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ entity LiteralEntity {
entity LiteralEntityWithIdentifiers {
identifier Boolean idBooleanLiteral default:true;
identifier Integer idIntLiteral default:1;
identifier Decimal idDecimalLiteral default:1.23;
identifier String idEscapedStringLiteral default:"escaped\nstring";
identifier String idRawStringLiteral default:r"raw\nstring";
identifier Date idDateLiteral default:`2020-02-18`;
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@
<build-helper-maven-plugin-version>3.3.0</build-helper-maven-plugin-version>

<!-- Model versions -->
<judo-meta-jsl-version>1.0.3.20240423_041441_d8421c8a_develop</judo-meta-jsl-version>
<judo-meta-jsl-version>1.0.3.20240430_124444_0daaeb3d_feature_JNG_5710_validation_for_identifiers_cannot_be_decimal_numbers</judo-meta-jsl-version>
<judo-meta-rdbms-version>1.0.2.20240414_042414_f5ed1b78_develop</judo-meta-rdbms-version>
<judo-meta-jql-version>1.0.4.20240410_091349_e488ea5d_develop</judo-meta-jql-version>
<judo-meta-ui-version>1.1.0.20240414_042431_d835a8fa_develop</judo-meta-ui-version>
<judo-meta-ui-version>1.1.0.20240430_141047_55acda3e_develop</judo-meta-ui-version>
<judo-meta-psm-version>1.3.0.20240414_042435_c6b0a651_develop</judo-meta-psm-version>
<judo-meta-asm-version>1.1.4.20240414_042403_a93471de_develop</judo-meta-asm-version>
<judo-meta-expression-version>1.0.5.20240414_043040_426cab39_develop</judo-meta-expression-version>
Expand Down

0 comments on commit 2e2a7b4

Please sign in to comment.