Skip to content

Commit

Permalink
test(node): test node HasLabel in TestGetOrCreateNode for creation
Browse files Browse the repository at this point in the history
  • Loading branch information
azr committed Jan 7, 2015
1 parent e6118ee commit bf2455d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ func TestGetOrCreateNode(t *testing.T) {
if !created {
t.Fatal("Failed to create unique node")
}
if !n0.HasLabel(, label) {
t.Fatal("Label was not applied to just created node.")
}
check0, err := n0.Properties()
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit bf2455d

Please sign in to comment.