From dd703f65c5f5ffcb5e1dd8d34840de9f8a64854f Mon Sep 17 00:00:00 2001 From: Wener Date: Wed, 22 Feb 2023 11:34:40 +0100 Subject: [PATCH] Update mathExample.txt Updated grammar. Updated unittest accordingly. --- .../lang/julia/cpd/testdata/mathExample.txt | 22 +++++-------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/pmd-julia/src/test/resources/net/sourceforge/pmd/lang/julia/cpd/testdata/mathExample.txt b/pmd-julia/src/test/resources/net/sourceforge/pmd/lang/julia/cpd/testdata/mathExample.txt index 47d6f6a52b..d26156d698 100644 --- a/pmd-julia/src/test/resources/net/sourceforge/pmd/lang/julia/cpd/testdata/mathExample.txt +++ b/pmd-julia/src/test/resources/net/sourceforge/pmd/lang/julia/cpd/testdata/mathExample.txt @@ -42,18 +42,15 @@ L12 [quadratic2] 10 19 [(] 20 20 [a] 21 21 - [:] 22 22 - [:] 23 23 + [::] 22 23 [Float64] 24 30 [,] 31 31 [b] 33 33 - [:] 34 34 - [:] 35 35 + [::] 34 35 [Float64] 36 42 [,] 43 43 [c] 45 45 - [:] 46 46 - [:] 47 47 + [::] 46 47 [Float64] 48 54 [)] 55 55 L15 @@ -121,20 +118,13 @@ L29 [=] 14 14 [quadratic2] 16 25 [(] 26 26 - [2] 27 27 - [.] 28 28 - [0] 29 29 + [2.0] 27 29 [,] 30 30 [-] 32 32 - [2] 33 33 - [.] 34 34 - [0] 35 35 + [2.0] 33 35 [,] 36 36 [-] 38 38 - [1] 39 39 - [2] 40 40 - [.] 41 41 - [0] 42 42 + [12.0] 39 42 [)] 43 43 L30 [println] 1 7