Skip to content

Commit

Permalink
tools: debug & error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Regueiro committed Feb 16, 2019
1 parent d3f4048 commit 7a091d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tools/compiletest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ pub fn parse_config(args: Vec<String>) -> Config {
"",
"runtool",
"supervisor program to run tests under \
(eg. emulator, valgrind)",
(e.g., emulator, valgrind)",
"PROGRAM",
)
.optopt(
Expand Down
4 changes: 2 additions & 2 deletions src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ impl<'test> TestCx<'test> {
// Finally, let's make sure it actually appears to remain valid code.
let proc_res = self.typecheck_source(actual);
if !proc_res.status.success() {
self.fatal_proc_rec("pretty-printed source does not typecheck", &proc_res);
self.fatal_proc_rec("pretty-printed source does not type-check", &proc_res);
}

if !self.props.pretty_expanded {
Expand All @@ -532,7 +532,7 @@ impl<'test> TestCx<'test> {
let proc_res = self.typecheck_source(expanded_src);
if !proc_res.status.success() {
self.fatal_proc_rec(
"pretty-printed source (expanded) does not typecheck",
"pretty-printed source (expanded) does not type-check",
&proc_res,
);
}
Expand Down

0 comments on commit 7a091d4

Please sign in to comment.