Skip to content

Commit 26beca1

Browse files
committed
:octocat: trim question mark test
1 parent 65b561c commit 26beca1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/QueryTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,7 @@ public function testBuildBooleans():void{
177177
);
178178
}
179179

180+
public function testParseDoesTrimQuestionMark():void{
181+
$this::assertSame(Query::parse('?q=a'), ['q' => 'a']);
182+
}
180183
}

0 commit comments

Comments
 (0)