1
我用PHPunit使用硒RC,我有這個問題。我試圖做assertEqual便但這是結果:PHPUnit - 斷言兩個字符串是相等的,他們是
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
abc
def
步驟行:
$this->assertEquals("abc\ndef", $this->getValue("text"));
和 「文本」 是 「ABC \ NDEF」。
在Firefox中它工作正常。問題只在於IE。在結果他不告訴我什麼是不相等..