Skip to content

Commit 3aea6a4

Browse files
committed
Removed unnecessary semicolons angular#7273
1 parent 7346a4c commit 3aea6a4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/ng/directive/ngId.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function idDirective() {
2525
// Set id attribute to new value
2626
element.attr('id', newId);
2727
}
28-
};
28+
}
2929
}
3030
};
3131

@@ -45,7 +45,7 @@ function idDirective() {
4545
return ids[0];
4646
}
4747
return idVal;
48-
};
48+
}
4949
};
5050
}
5151

@@ -115,6 +115,9 @@ function idDirective() {
115115
expect(ps.first().getAttribute('id')).toMatch(/bold/);
116116
117117
element(by.model('error')).click();
118+
expect(ps.first().getAttribute('id')).toMatch(/bold/);
119+
120+
element(by.model('important')).click();
118121
expect(ps.first().getAttribute('id')).toMatch(/red/);
119122
});
120123

0 commit comments

Comments
 (0)