Skip to content

Commit

Permalink
pointing at the right submodule, fixing move tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Dec 19, 2012
1 parent 08a13e6 commit 6e4bf27
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "test/json-patch-tests"]
path = test/json-patch-tests
url = https://github.com/json-patch/json-patch-tests
4 changes: 2 additions & 2 deletions lib/hana.rb
Expand Up @@ -88,8 +88,8 @@ def add ins, doc
end

def move ins, doc
from = Pointer.parse ins['path']
to = Pointer.parse ins['to']
from = Pointer.parse ins['from']
to = Pointer.parse ins['path']
from_key = from.pop
key = to.pop

Expand Down
1 change: 1 addition & 0 deletions test/json-patch-tests
Submodule json-patch-tests added at c5a4a1

0 comments on commit 6e4bf27

Please sign in to comment.