Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Side by Side Diff: lib/src/prism/tests/languages/git/diff_feature.test

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 -Here's my tetx file
2 +Here's my text file
3 +And this is the second line
4
5 ––– a/web/js/lazy.js
6 +++ b/web/js/lazy.js
7
8 - if (url !== null && url !== '' && typeof url !== 'undefined') {
9 + if (url === null || url === '' || typeof url === 'undefined') {
10 + return;
11 + }
12 +
13
14 ----------------------------------------------------
15
16 [
17 ["deleted", "-Here's my tetx file"],
18 ["inserted", "+Here's my text file"],
19 ["inserted", "+And this is the second line"],
20 ["deleted", "––– a/web/js/lazy.js"],
21 ["inserted", "+++ b/web/js/lazy.js"],
22 ["deleted", "- if (url !== null && url !== '' && typeof url !== 'un defined') {"],
23 ["inserted", "+ if (url === null || url === '' || typeof url === 'u ndefined') {"],
24 ["inserted", "+ return;"],
25 ["inserted", "+ }"],
26 ["inserted", "+"]
27 ]
28
29 ----------------------------------------------------
30
31 Checks for inserted and deleted lines in git diff output.
OLDNEW
« no previous file with comments | « lib/src/prism/tests/languages/git/coord_feature.test ('k') | lib/src/prism/tests/languages/git/string_feature.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698