This patch adds a unit test for reading kate modelines.
In particular, the unit test ensures that the following examples work correctly:
- kate: variable value;
- kate-wildcard(*.txt): variable value;
- kate-wildchard(*.foo;*.txt;*.bar): variable value;
- kate-modeline(text/plain): variable value;
- kate-modeline(text/foo;text/plain;text/bar): variable value;
The unit test found that 3. did not work correctly due to a wrong
bool assignment. This is now fixed.