Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephTLyons committed Nov 6, 2024
1 parent 1daaa5e commit 96cb25d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions test/data/float_data.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,16 @@ pub const data: List(FloatTestData) = [
output: Error(UnknownCharacter("c", 6)),
python_output: Error(Nil),
),
FloatTestData(
input: "e",
output: Error(InvalidExponentPosition("e", 0)),
python_output: Error(Nil),
),
FloatTestData(
input: "E",
output: Error(InvalidExponentPosition("E", 0)),
python_output: Error(Nil),
),
FloatTestData(
input: "e4",
output: Error(InvalidExponentPosition("e", 0)),
Expand All @@ -228,6 +238,16 @@ pub const data: List(FloatTestData) = [
output: Error(InvalidExponentPosition("E", 1)),
python_output: Error(Nil),
),
FloatTestData(
input: ".e",
output: Error(InvalidExponentPosition("e", 1)),
python_output: Error(Nil),
),
FloatTestData(
input: ".E",
output: Error(InvalidExponentPosition("E", 1)),
python_output: Error(Nil),
),
FloatTestData(
input: ".e4",
output: Error(InvalidExponentPosition("e", 1)),
Expand Down

0 comments on commit 96cb25d

Please sign in to comment.