MCPcopy Create free account
hub / github.com/ReadyTalk/avian / testTrivialPattern

Method testTrivialPattern

test/Strings.java:108–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }
107
108 public static void testTrivialPattern() throws Exception {
109 expect("?7".matches("\\0777"));
110 expect("\007".matches("\\a"));
111 expect("\\".matches("\\\\"));
112 expect("J".matches("\\x4A"));
113 expect("a".matches("\\x61"));
114 expect("\0078".matches("\\078"));
115 }
116
117 public static void main(String[] args) throws Exception {
118 expect(new String(new byte[] { 99, 111, 109, 46, 101, 99, 111, 118, 97,

Callers 1

mainMethod · 0.95

Calls 2

expectMethod · 0.95
matchesMethod · 0.45

Tested by

no test coverage detected