Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. Test suite test-httplogmonitor: RUNNING...
  2. ✗ <interactive> failed after 1 test and 36 shrinks.
  3.  
  4. ┏━━ Test.hs ━━━
  5. 15 ┃ prop_roundtrip :: Property
  6. 16 ┃ prop_roundtrip =
  7. 17 ┃ withTests 1000 . property $
  8. 18 ┃ do
  9. 19 ┃ lm <- forAll genLogMessage
  10. ┃ │ a (-a)
  11. ┃ │ [ 17 / Nov / 1858 : 00 : 00 : 00 + 0000 ]
  12. ┃ │ "a /a HTTP/1.0"
  13. ┃ │ 100
  14. ┃ │ 100
  15. 20 ┃ -- lm === fromRight (parseOnly pLogMessage $ pack (show lm))
  16. 21 ┃ tripping lm (pack . show) (parseOnly pLogMessage)
  17. ┃ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  18. ┃ │ ━━━ Intermediate ━━━
  19. ┃ │ "a - a [17/Nov/1858:00:00:00 +0000] \"a /a HTTP/1.0\" 100 100"
  20. ┃ │ ━━━ - Original / + Roundtrip ━━━
  21. ┃ │ Right
  22. ┃ │ a
  23. ┃ │ (-a)
  24. ┃ │ [ 17 / Nov / 1858 : 00 : 00 : 00 + 0000 ]
  25. ┃ │ "a /a HTTP/1.0"
  26. ┃ │ 100
  27. ┃ │ 100
  28.  
  29. This failure can be reproduced by running:
  30. > recheck (Size 0) (Seed 7323114830085660507 16923437795472614951) <property>
  31.  
  32. Test suite test-httplogmonitor: PASS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement