Skip to content

Instantly share code, notes, and snippets.

@dhoss
Created September 7, 2010 19:28
Show Gist options
  • Save dhoss/568905 to your computer and use it in GitHub Desktop.
Save dhoss/568905 to your computer and use it in GitHub Desktop.
admins-MacBook-Pro:DBIx-Class-Tree-Recursive admin$ prove -lv t/
t/basic.t ..
ok 1 - initial state
ok 2 - chief has no parent
ok 3 - first subordinate
ok 4 - first subordinate has chief as parent
ok 5 - second subordinate
ok 6 - second subordinate has chief as parent
ok 7 - first child
ok 8 - child 1 has subordinate 1 as a parent
ok 9 - second child
ok 10 - child 2 has subordinate 1 as a parent
ok 11 - promote a rookie to a subordinate
ok 12 - child 1 has chief as a parent
ok 13 - make this same rookie 1st subordinate
rookie 1.1 path after FIRST move: 1.1.1 and parent: 2 at t/basic.t line 52.
ok 14 - promote him to FIRST chief (this time use move_to_group)
rookie 1.1 path after move to group: 1.1.1 and parent: 2 at t/basic.t line 58.
rookie 1.1 path after child1->move_to:1.1.2 and parent: 2 at t/basic.t line 60.
Can't call method "discard_changes" on an undefined value at t/basic.t line 91.
# Tests were run but no plan was declared and done_testing() was not seen.
Dubious, test returned 255 (wstat 65280, 0xff00)
All 14 subtests passed
Test Summary Report
-------------------
t/basic.t (Wstat: 65280 Tests: 14 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=1, Tests=14, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.32 cusr 0.03 csys = 0.39 CPU)
Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment