Change mk_tool::main() to pt_tool::main() in all tests.

This commit is contained in:
Daniel Nichter
2011-06-29 11:56:49 -06:00
parent fd0941534a
commit 8e11cd85b3
112 changed files with 357 additions and 357 deletions

View File

@@ -38,7 +38,7 @@ $sb->load_file('master', "t/pt-query-advisor/samples/issue-950.sql", "test");
my $query = "select c from L left join R on l_id = r_id where r_other is null";
$output = output(
sub { mk_query_advisor::main(@args, '--query', $query) },
sub { pt_query_advisor::main(@args, '--query', $query) },
);
like(
$output,
@@ -47,7 +47,7 @@ like(
);
$output = output(
sub { mk_query_advisor::main(@args, '--query', $query,
sub { pt_query_advisor::main(@args, '--query', $query,
'--no-show-create-table') },
);
is(
@@ -57,7 +57,7 @@ is(
);
$output = output(
sub { mk_query_advisor::main(@args, '--query', $query,
sub { pt_query_advisor::main(@args, '--query', $query,
'--no-show-create-table', '--print-all') },
);
is(