Skip to content

Commit

Permalink
Merge pull request #1699 from nylen/upgrade/jsdiff
Browse files Browse the repository at this point in the history
Upgrade jsdiff to v1.4.0
  • Loading branch information
dasilvacontin committed May 13, 2015
2 parents 789ac58 + 9a0794a commit e5f1180
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"commander": "2.3.0",
"debug": "2.0.0",
"diff": "1.0.8",
"diff": "1.4.0",
"escape-string-regexp": "1.0.2",
"glob": "3.2.3",
"growl": "1.8.1",
Expand Down
30 changes: 15 additions & 15 deletions test/integration/fixtures/diffs/output
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
// DIFF
+foo bar baz
-foo rar baz
+foo bar baz

// DIFF
{
"age": 23
+ "name": "travis"
- "name": "travis j"
+ "name": "travis"
}

// DIFF
foo bar baz
+foo bar baz
+foo bar baz
-foo rar baz
-foo bar raz
+foo bar baz
+foo bar baz

// DIFF
{
"address": {
"city": "new york"
+ "country": "us"
- "country": "usa"
+ "country": "us"
}
"age": 30
+ "name": "joe"
- "name": "joel"
+ "name": "joe"
}

// DIFF
one two three
+four five six
-four zzzz six
+four five six
seven eight nine

// DIFF
{
"address": {
"city": "new york"
+ "country": "us"
- "country": "usa"
+ "country": "us"
}
"age": 30
+ "name": "joe"
- "name": "joel"
+ "name": "joe"
}

// DIFF
one tab
+two tabs
-two tabs
+two tabs

// DIFF
body {
font: "Helvetica Neue", Helvetica, arial, sans-serif;
background: black;
+ color: #fff;
- color: white;
+ color: #fff;
}

a {
+ color: blue;
- color: blue
+ color: blue;
}
+
+foo {
Expand All @@ -71,10 +71,10 @@
// DIFF
{
"age": 2
+ "color": "brown"
+ "name": "loki"
- "color": "white"
- "name": "tobi"
+ "color": "brown"
+ "name": "loki"
"species": "ferret"
}

Expand All @@ -86,6 +86,6 @@

// DIFF
[
+ 2
- 1
+ 2
]

0 comments on commit e5f1180

Please sign in to comment.