mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-04-17 01:01:39 +08:00
Extra tweaks due to feedback from kaiwangchen: ; starts comments if at the start of a line
This commit is contained in:
@@ -849,6 +849,12 @@ is(
|
||||
"..and removing comments doesn't leave trailing whitespace"
|
||||
);
|
||||
|
||||
is_deeply(
|
||||
[ sort keys %{$config->variables} ],
|
||||
[qw( password something user )],
|
||||
"start of line comments with # or ; are ignored"
|
||||
);
|
||||
|
||||
# #############################################################################
|
||||
# Done.
|
||||
# #############################################################################
|
||||
|
||||
@@ -2,3 +2,7 @@
|
||||
user=mysql # comment
|
||||
password="password # still part of it!"# comment
|
||||
something='something ; or # another' # comment
|
||||
;semicolon="start of line comment with ;"
|
||||
#pound="start of line comment with #"
|
||||
;spacecolon
|
||||
#spacepound
|
||||
|
||||
Reference in New Issue
Block a user