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

Unified Diff: third_party/WebKit/LayoutTests/inspector/diff-module-expected.txt

Issue 2349823002: DevTools: Preserve the text when doing a line-by-line diff (Closed)
Patch Set: Docs Created 4 years, 3 months 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/diff-module-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/diff-module-expected.txt b/third_party/WebKit/LayoutTests/inspector/diff-module-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..1ed9f51f48b4d0c3342e707cc692a4b508b8cfb9
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/diff-module-expected.txt
@@ -0,0 +1,79 @@
+Tests that the Diff module correctly diffs things.
+
+
+=: "test th"
+-: "is"
++: "at"
+=: " sentence"
+-: "."
+
+-: [
+ "test this sentence."
+]
++: [
+ "test that sentence"
+]
+
+=: [
+ "a"
+]
+-: [
+ "b"
+]
+=: [
+ "c"
+]
+
+-: [
+ "a"
+]
+=: [
+ "b"
+]
++: [
+ "a"
+]
+=: [
+ "c"
+]
+
+=: [
+ "a"
+]
++: [
+ "b"
+]
+=: [
+ "c"
+]
+
+=: [
+ "for (var i = 0; i < 100; i++) {"
+]
+-: [
+ " willBeLeftAlone()",
+ " willBeDeleted();"
+]
++: [
+ " willBeLeftAlone();"
+]
+=: [
+ "}"
+]
++: [
+ "insertThisLine();"
+]
+=: [
+ "for (var j = 0; j < 100; j++) {"
+]
+-: [
+ " console.log('something changed');",
+ " willBeDeletedAgain();"
+]
++: [
+ " console.log('changed');"
+]
+=: [
+ "}"
+]
+
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/diff-module.html ('k') | third_party/WebKit/Source/devtools/front_end/diff/Diff.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698