Changeset View
Changeset View
Standalone View
Standalone View
src/parser/__tests__/ArcanistCommentRemoverTestCase.php
Show All 21 Lines | Here is a list: | ||||
# Stuff | # Stuff | ||||
# More Stuff | # More Stuff | ||||
The end. | The end. | ||||
EOTEXT; | EOTEXT; | ||||
$this->assertEqual($expect, ArcanistCommentRemover::removeComments($test)); | $this->assertEqual($expect, ArcanistCommentRemover::removeComments($test)); | ||||
$test = <<<EOTEXT | |||||
Subscribers: | |||||
#projectname | |||||
# Instructional comments. | |||||
EOTEXT; | |||||
$expect = <<<EOTEXT | |||||
Subscribers: | |||||
#projectname | |||||
EOTEXT; | |||||
$this->assertEqual($expect, ArcanistCommentRemover::removeComments($test)); | |||||
} | } | ||||
} | } |