Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb23d74b

Browse files
committed
update test regex example
1 parent812a394 commitb23d74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎_posts/tutorial-docs/2016-01-06-test-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ it('should be {a: 42}', function () {
6262
it('should include the variable "count"',function () {
6363
var regex=newRegExp('count');
6464
var string=target.toString();
65-
expect(string.match(regex)).to.be.true;
65+
expect(string).to.match(regex);
6666
});
6767
```
6868

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp