summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJoel Uckelman <uckelman@nomic.net>2012-02-27 01:58:31 +0100
committerJoel Uckelman <uckelman@nomic.net>2012-02-27 01:58:31 +0100
commitbd1c62f553ff504a3f2bdd31ef89d67f70cf9ea8 (patch)
treefde9dbcb8289470113d03244099514f82e36e4d4 /test
parent8db680d701afd397a3c5936accd72e8eb1aab58b (diff)
Expected and actual were backwards.
Diffstat (limited to 'test')
-rw-r--r--test/build_post_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/build_post_test.php b/test/build_post_test.php
index 7b9cb6f..cf172f6 100644
--- a/test/build_post_test.php
+++ b/test/build_post_test.php
@@ -9,8 +9,8 @@ class build_post_test extends PHPUnit_Framework_TestCase {
/** @dataProvider buildPostSubjectProvider */
public function testBuildPostSubject($ltag, $ftag, $subject, $expected) {
$this->assertEquals(
- build_post_subject($ltag, $ftag, $subject),
- $expected
+ $expected,
+ build_post_subject($ltag, $ftag, $subject)
);
}