Fixed platform dependent bug in Unit Tests 60/1460/1
authorTony Tkacik <ttkacik@cisco.com>
Fri, 27 Sep 2013 13:09:16 +0000 (15:09 +0200)
committerTony Tkacik <ttkacik@cisco.com>
Fri, 27 Sep 2013 13:20:53 +0000 (15:20 +0200)
Change-Id: I08f9273cff58a2c7830b72136abcdd2e3779961a
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
yang/yang-parser-impl/src/test/java/org/opendaylight/yangtools/yang/parser/impl/YangParserNegativeTest.java

index 7f2400a9587fbcb3524ed00aa18cdb9afbd09dea..086f4f114c26f8a7a5c18400c80ef7e1fea4f2ae 100644 (file)
@@ -223,7 +223,7 @@ public class YangParserNegativeTest {
             parser.parseYangModels(yangFile, dependenciesDir);
             fail("Exception should by thrown");
         } catch (IllegalStateException e) {
-            String expected = "/invalid does not exists";
+            String expected = File.separator + "invalid does not exists";
             assertEquals(expected, e.getMessage());
         }
     }