Skip to content

Commit bde5805

Browse files
committed
Adapted CSSJanus tests
1 parent 4c49e30 commit bde5805

File tree

2 files changed

+154
-88
lines changed

2 files changed

+154
-88
lines changed

tests/CSSJanus/CSSJanusTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ public function testTransform($input, $args, $expected, $name) {
1717
->set('SpaceAfterRules', ' ')
1818
->set('SpaceBetweenRules', ' ')
1919
->set('SpaceBetweenBlocks', ' ')
20-
->set('SpaceAfterListArgumentSeparator', array('default' => '', ',' => ' '));
20+
->set('SpaceBeforeListArgumentSeparator', array('default' => '', '/' => ' '))
21+
->set('SpaceAfterListArgumentSeparator', array('default' => '', ',' => ' ', '/' => ' '));
2122

2223
$parser = new Parser($input);
2324
$tree = $parser->parse();
@@ -62,7 +63,7 @@ public static function provideData()
6263
$cases["$caseName (undo)"] = array(
6364
$output,
6465
$args,
65-
$input,
66+
isset($case[2]) ? $case[2] : $input,
6667
"$caseName (undo)",
6768
);
6869
}

0 commit comments

Comments
 (0)