Sha256: 6fc2686cc3de4b03dfc614d499873d11fd082961dfd78c485288c77b5cc2d470
Contents?: true
Size: 410 Bytes
Versions: 5
Compression:
Stored size: 410 Bytes
Contents
"use strict"; var diff = require("../diff") var patch = require("../patch") exports["test diff"] = require("./diff") exports["test patch"] = require("./patch") exports["test patch(a, diff(a, b)) => b"] = function(assert) { var a = { a: { b: 1 }, c: { d: 2 } } var b = { a: { e: 3 }, c: { d: 4 } } assert.deepEqual(patch(a, diff(a, b)), b, "patch(a, diff(a, b)) => b") } require("test").run(exports)
Version data entries
5 entries across 2 versions & 1 rubygems