Commits

Roger Light  committed 38da4b4

Add more pattern tests.

  • Participants
  • Parent commits 393c49c
  • Branches 1.0.3

Comments (0)

Files changed (1)

File test/broker/03-pattern-matching.py

 pattern_test("foo/#", "foo/bar/baz")
 pattern_test("foo/+/baz", "foo/bar/baz")
 pattern_test("foo/#", "foo")
+pattern_test("/#", "/foo")
+pattern_test("+/+/+/+/+/+/+/+/+/+/test", "one/two/three/four/five/six/seven/eight/nine/ten/test")
 
 exit(0)