Page MenuHomeSealhub

ArcanistCommentRemoverTestCase.php
No OneTemporary

Authored By
Unknown
Size
427 B
Referenced Files
None
Subscribers
None

ArcanistCommentRemoverTestCase.php

<?php
final class ArcanistCommentRemoverTestCase extends ArcanistTestCase {
public function testRemover() {
$test = <<<EOTEXT
Here is a list:
# Stuff
# More Stuff
The end.
# Instructional comments.
# Appear here.
# At the bottom.
EOTEXT;
$expect = <<<EOTEXT
Here is a list:
# Stuff
# More Stuff
The end.
EOTEXT;
$this->assertEqual($expect, ArcanistCommentRemover::removeComments($test));
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Nov 27, 18:25 (1 d, 4 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1223384
Default Alt Text
ArcanistCommentRemoverTestCase.php (427 B)

Event Timeline