Commit 7b205697 by Harish Butani

fix ThriftParserTest issue on windows

parent 639671ca
...@@ -90,7 +90,7 @@ class ThriftParserTest { ...@@ -90,7 +90,7 @@ class ThriftParserTest {
"services":[] "services":[]
}""") }""")
Assert.assertEquals(parsed, sample) Assert.assertEquals(parsed.toString, sample.toString)
} }
@Test def testStruct { @Test def testStruct {
...@@ -146,7 +146,7 @@ class ThriftParserTest { ...@@ -146,7 +146,7 @@ class ThriftParserTest {
"services":[] "services":[]
}""") }""")
Assert.assertEquals(parsed, sample) Assert.assertEquals(parsed.toString, sample.toString)
} }
@Test def testTableStruct { @Test def testTableStruct {
...@@ -354,7 +354,7 @@ class ThriftParserTest { ...@@ -354,7 +354,7 @@ class ThriftParserTest {
"services":[] "services":[]
}""") }""")
Assert.assertEquals(parsed, sample) Assert.assertEquals(parsed.toString, sample.toString)
} }
@Test def testHiveThrift { @Test def testHiveThrift {
...@@ -750,7 +750,7 @@ class ThriftParserTest { ...@@ -750,7 +750,7 @@ class ThriftParserTest {
}] }]
}""") }""")
Assert.assertEquals(parsed, sample) Assert.assertEquals(parsed.toString, sample.toString)
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment