Skip to content

Instantly share code, notes, and snippets.

@raphink
Created June 12, 2015 09:25
Show Gist options
  • Save raphink/f075edcb59b1922cf899 to your computer and use it in GitHub Desktop.
Save raphink/f075edcb59b1922cf899 to your computer and use it in GitHub Desktop.
$ augparsediff -c -I lenses/ lenses/tests/test_mysql.aug
Syntax error in lens definition
Failed to load lenses/tests/test_mysql.aug
--- expected 2015-06-12 11:25:32.982707547 +0200
+++ actual 2015-06-12 11:25:32.986707733 +0200
@@ -113,6 +113,9 @@
{ "max_allowed_packet" = "16M" }
{ }
}
+ { "!includedir" = "/etc/mysql/middle_include" }
+ { "!include" = "/etc/mysql/middle_include.conf" }
+ { }
{ "target" = "mysql"
{ "#comment" = "no-auto-rehash # faster start of mysql but no tab completition" }
{ }
diff --git a/lenses/tests/test_mysql.aug b/lenses/tests/test_mysql.aug
index 9356204..8fe752f 100644
--- a/lenses/tests/test_mysql.aug
+++ b/lenses/tests/test_mysql.aug
@@ -110,6 +110,9 @@ quick
quote-names
max_allowed_packet = 16M
+!includedir /etc/mysql/middle_include
+!include /etc/mysql/middle_include.conf
+
[mysql]
#no-auto-rehash # faster start of mysql but no tab completition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment