public static void one_test(TestHolder test) throws Exception {
		System.out.print(test);
		char expect = test.expect.charAt(0);
		RE re;
		try {
			re = new RE(test.patt);
		} catch (RESyntaxException e) {
			boolean success = (expect == 'c');
			// If we expected success but got failure, throw.
			if (!success) {				
				throw(e);
			}
			return;
		}
		if (expect == 'c' /* && we are still here */) {
			throw new AssertionFailedError("Pattern compiled, but expected it to fail(c)");
		}
		boolean matched = re.match(test.input);
		
		if (matched == (expect == 'y')) {
			System.out.println(passedMessage);
		} else {
			throw new AssertionFailedError(failedMessage + ": " + test);
		}

	}