]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/test-file-name.cc
Update source file headers. Fixes using standard GNU package conventions.
[lilypond.git] / flower / test-file-name.cc
index edae635e822e618d37a18f5fe92433109180091a..9bd06f121cf7201a1a7feea1874f5d0308ba2f5f 100644 (file)
@@ -34,3 +34,10 @@ TEST_STRING (File_name, Mingw_slashify_4, "\\tmp\\x.ly")
   string s = slashify (to_string ());
   EQUAL ("/tmp/x.ly", s);
 }
+
+TEST_STRING (File_name, Canonicalize, "foo//bar/..//bla//z.ly")
+{
+  string s = canonicalized ().to_string ();
+  EQUAL ("foo/bla/z.ly", s);
+}
+