Skip to content

Commit

Permalink
Fix transform spec
Browse files Browse the repository at this point in the history
  • Loading branch information
noteflakes committed Jan 3, 2017
1 parent cc7a8c4 commit 1138782
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions spec/transform_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
Lyp::Lilypond.current_lilypond_include_path
]
}
out = Lyp::Transform.flatten("#{$spec_dir}/user_files/include_path.ly", opts).gsub(
"#{$spec_dir}/user_files/", ""
).strip_whitespace
out = Lyp::Transform.flatten("#{$spec_dir}/user_files/include_path.ly", opts).
gsub("#{$spec_dir}/", "").
strip_whitespace
expect(out).to eq(IO.read("#{$spec_dir}/user_files/flattened_include_path.ly").strip_whitespace)
end
end
Expand Down
4 changes: 2 additions & 2 deletions spec/user_files/flattened_include_path.ly
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%% /Users/sharon/repo/lyp/spec/include_files/mydeutsch.ly
%%% /Users/sharon/repo/lyp/spec/lilypond_setups/tmp/2.19.37/share/lilypond/current/ly/deutsch.ly
%%% include_files/mydeutsch.ly
%%% lilypond_setups/tmp/2.19.37/share/lilypond/current/ly/deutsch.ly
%%%% common German names for notes
%%%% This file is part of LilyPond, the GNU music typesetter.
%%%%
Expand Down

0 comments on commit 1138782

Please sign in to comment.