Dies Koper created DTACLOUD-387:
-----------------------------------

             Summary: Regexp warning causing test failure
                 Key: DTACLOUD-387
                 URL: https://issues.apache.org/jira/browse/DTACLOUD-387
             Project: DeltaCloud
          Issue Type: Test
          Components: CIMI/Frontend
         Environment: Windows 7, ruby 1.8.7 (2012-02-08 patchlevel 358) 
[i386-mingw32]

            Reporter: Dies Koper


When running ruby cimi\part5_test.rb (--seed 58494):

  2) Failure:
test_0021_should return possible operations to be executed on a machine 
[json](ManipulateAMachine) [cimi/part5_test.rb:111]:
In stderr.
--- expected
+++ actual
@@ -1 +1,2 @@
-""
+"./cimi/test_helper.rb:103: warning: flags ignored
+"

The warning comes from:
      op_regex = Regexp.new(op, Regexp::IGNORECASE) # "add" == /add/i

it looks like the warning is causing the test to fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to