Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit d53a787

Browse files
yilinglucaitp
authored andcommitted
docs(tutorial): change regexp so that assertion works
Need to remove this single space for the regex to work here. Apparently `getText()` is trimming the text content or something, because there is no good reason why that space should not be there. Closes #6985
1 parent 9682bd0 commit d53a787

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/tutorial/step_03.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ ngBindTemplate} directives, which are invisible to the user while the page is lo
172172
it('should display the current filter value within an element with id "status"',
173173
function() {
174174
var statusElement = element(by.id('status'));
175-
expect(statusElement.getText()).toMatch(/Current filter: \s*$/);
175+
expect(statusElement.getText()).toMatch(/Current filter:\s*$/);
176176

177177
element(by.model('query')).sendKeys('nexus');
178178

0 commit comments

Comments
 (0)