Skip to content

Commit 90dbb74

Browse files
Added error test for implied decimal points.
1 parent eea32db commit 90dbb74

2 files changed

Lines changed: 47 additions & 0 deletions

File tree

Solidsoft.Reply.Parsers.Gs1Ai.Tests/Features/Errors.feature

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,10 @@ Scenario: Trigger a 'the value{0} does not match the specified pattern for the d
7171
When the input to submitted to the parser
7272
Then there should be errors
7373
And the errors should include a non-fatal 2100 error
74+
75+
Scenario: Trigger a 'the implied decimal point position (inverse exponent) is specified incorrectly' error
76+
Given the input is 310A234567
77+
When the input to submitted to the parser
78+
Then the entity should be 310
79+
And there should be errors
80+
And the errors should include a non-fatal 2011 error

Solidsoft.Reply.Parsers.Gs1Ai.Tests/Features/Errors.feature.cs

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)