git @ Cat's Eye Technologies Falderal / 1928468
--substring-error is now the default behaviour. Update HISTORY. Chris Pressey 2 years ago
2 changed file(s) with 17 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
00 History
11 =======
2
3 Version 0.13 "Merchandise Mart":
4
5 * `--substring-error` is now the default behaviour, and if this
6 option is given, it will be ignored. After a long time
7 considering the problem, we finally determined that it does
8 not make sense to insist that different implementations
9 produce the exact same error message.
10 * `--verbose` option now prints out commands for each test as it
11 is run.
12 * Planned to be the last 0.x series release before 1.0.
213
314 Version 0.12 "Schoenhofen Brewery":
415
1919 parser = OptionParser()
2020 parser.add_option("-b", "--substring-error",
2121 action="store_true", default=False,
22 help="match expected errors as substrings")
22 help="no effect (provided for backwards compatibility)")
2323 parser.add_option("--cavalier",
2424 action="store_true", default=False,
2525 help="don't perform sanity linting before running tests")
3131 help="print out info about each test as it is run")
3232
3333 (options, args) = parser.parse_args(args[1:])
34
35 if not options.substring_error:
36 if options.verbose:
37 print("NOTE: --substring-error is now default, option has no effect")
38 options.substring_error = True
3439
3540 # load Documents and create Falderal Tests from them
3641 documents = []