rsmmr / hilti

**NOTE**: This is outdated and no longer maintained. There's a new version at https://github.com/zeek/spicy.
Other
40 stars 22 forks source link

tests/spicy/double/parse.spicy fails because doubles are incorrectly decoded #36

Open dloss opened 7 years ago

dloss commented 7 years ago
# btest -d spicy/double/parse.spicy
[  0%] spicy.double.parse ... failed
  % 'btest-diff output' failed unexpectedly (exit code 1)
  % cat .diag
  == File ===============================
  <f1=2814768777216304605379219959026329549267817057258717999296725371294903577351399237811009219760593733213166659574875750222176724, f2=2821128616056011089531440770821113512346859011793081747591869489872827629227737079711884337401482318061052193593026198347157899, f3=279523120233054208.000000>
  == Diff ===============================
  --- /tmp/test-diff.2422.output.baseline.tmp   2017-01-13 10:32:11.422642241 +0000
  +++ /tmp/test-diff.2422.output.tmp    2017-01-13 10:32:11.462612547 +0000
  @@ -1 +1 @@
  -<f1=12.345679, f2=12.345679, f3=3.140000>
  +<f1=2814768777216304605379219959026329549267817057258717999296725371294903577351399237811009219760593733213166659574875750222176724, f2=2821128616056011089531440770821113512346859011793081747591869489872827629227737079711884337401482318061052193593026198347157899, f3=279523120233054208.000000>
  =======================================

  % cat .stderr

1 of 1 test failed

Tested in the rsmmr/hilti Docker image:

# spicy-config --version
Spicy 0.5-4
# hilti-config --version
HILTI 0.5-4