Skip to content

Commit

Permalink
Fix test case for Windows (arnaud-lb#296)
Browse files Browse the repository at this point in the history
The directory separator is `\` on Windows, so the test case fails.
Therefore we're using `%e` to check for the separator.
  • Loading branch information
cmb69 authored and nick-zh committed Oct 10, 2019
1 parent a00c007 commit 5ed1c72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/conf_setDefaultTopicConf.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ $conf->setDefaultTopicConf($conf);
--EXPECTF--
Setting valid topic conf

Deprecated: Function RdKafka\Conf::setDefaultTopicConf() is deprecated in %s/conf_setDefaultTopicConf.php on line 6
Deprecated: Function RdKafka\Conf::setDefaultTopicConf() is deprecated in %s%econf_setDefaultTopicConf.php on line 6
Setting invalid topic conf

Deprecated: Function RdKafka\Conf::setDefaultTopicConf() is deprecated in %s/conf_setDefaultTopicConf.php on line 9
Deprecated: Function RdKafka\Conf::setDefaultTopicConf() is deprecated in %s%econf_setDefaultTopicConf.php on line 9

Warning: RdKafka\Conf::setDefaultTopicConf() expects parameter 1 to be RdKafka\TopicConf, object given in %s/conf_setDefaultTopicConf.php on line 9
Warning: RdKafka\Conf::setDefaultTopicConf() expects parameter 1 to be RdKafka\TopicConf, object given in %s%econf_setDefaultTopicConf.php on line 9

0 comments on commit 5ed1c72

Please sign in to comment.