Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5951

DroolsMvelParserTest fails due to line endings \r\n on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • core engine
    • None
    • 2020 Week 52-03 (from Dec 21)
    • Hide

      Run org.drools.mvel.parser.DroolsMvelParserTest#testSpecialNewlineHandling on Windows.

      Show
      Run org.drools.mvel.parser.DroolsMvelParserTest#testSpecialNewlineHandling on Windows.
    • Undefined
    • NEW
    • NEW
    • ---
    • ---

      Test added by DROOLS-5879 (Optional newline handling in MVEL parser - see commit [1]) fails when executed in an environment with Windows OS.

      [1] https://github.com/kiegroup/drools/commit/e37605f2b77b0714ea3018684eef85934ba2e5de

      Contents have differences only in line separators.

      08:47:48 [INFO]
      08:47:48 [INFO] Results:
      08:47:48 [INFO]
      08:47:48 [ERROR] Failures:
      08:47:48 [ERROR] DroolsMvelParserTest.testSpecialNewlineHandling:914 There should be 2 statements expected:<

      {[ 08:47:48 a(); 08:47:48 print(1);] 08:47:48 }

      > but was:<{[
      08:47:48 a();
      08:47:48 print(1);
      ]

              evacchi Edoardo Vacchi (Inactive)
              drosabrno Daniel Rosa
              Daniel Rosa Daniel Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: