From 235d70239a2a6dd99af078a93882d2fff21bd49f Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 23 Oct 2015 16:53:51 -0400 Subject: [PATCH] Rename a/b to before/after. --- prototype/doubt-json/main.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/prototype/doubt-json/main.swift b/prototype/doubt-json/main.swift index b943b3dc8..75f0b1f62 100644 --- a/prototype/doubt-json/main.swift +++ b/prototype/doubt-json/main.swift @@ -53,12 +53,12 @@ func diffAndSerialize(a aString: String, b bString: String, to: String) throws { } let JSON: Doubt.JSON = benchmark("converting diff to JSON") { [ - "a": .String(aString), - "b": .String(bString), + "before": .String(aString), + "after": .String(bString), "diff": diff.JSON(pure: { $0.JSON { $0.JSON(annotation: range, leaf: { $0.JSON }) } }, leaf: { $0.JSON }, annotation: { [ - "a": range($0), - "b": range($1), + "before": range($0), + "after": range($1), ] }), ]