Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Escape brackets in test RegExp.

  • Loading branch information...
commit 421a6db1de1954b905535795c14e5e618594c0d7 1 parent c16450f
@reid reid authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/functional.js
View
2  test/functional.js
@@ -219,7 +219,7 @@ function attachServerContext(testContext, explicitRoute) {
route = "/yeti";
}
- testFixture = SERVER_TEST_FIXTURE.replace(/{route}/g, route);
+ testFixture = SERVER_TEST_FIXTURE.replace(/\{route\}/g, route);
return {
topic: function () {
Please sign in to comment.
Something went wrong with that request. Please try again.