Codeception / Codeception/module-webdriver

Inconsistent newline characters for Windows

オープン
#63 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
39
フォーク
25
PR マージ指標
30日以内にマージされた PR はありません

説明

1. Methods `seeInSource` and `seeInPageSource` have different descriptions and run different code paths, but ultimately do the very save comparison. Meaning there should be no `seeInPageSource` method. Please remove.
2. I am trying to use either of them, let's say `seeInSource`. It works fine in PhpBrowser. But it fails for WebDriver. I have found the solution: I could do `str_replace(chr(13), '', $whatIWantToSeeMultiline)` and it will work for WebDriver. **This is the old good \n vs \r\n.** Could you please compare more intelligently, keeping in mind newline may differ?

Webserver is Apache and it's run on same Windows machine, by the way.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。