X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Ffilter-translators.ly;fp=input%2Fregression%2Ffilter-translators.ly;h=cd685466023750591dc3c444d28573883a25b102;hb=e90f0536f9be39ada0bef0aeb0d275dec3b2fb5b;hp=0000000000000000000000000000000000000000;hpb=a8c9e8a7ca320ab0df5fd32e717fd62cd7635ce6;p=lilypond.git diff --git a/input/regression/filter-translators.ly b/input/regression/filter-translators.ly new file mode 100644 index 0000000000..cd68546602 --- /dev/null +++ b/input/regression/filter-translators.ly @@ -0,0 +1,21 @@ +\version "2.14.0" + +\header { + texidoc = "Context modification via @code{\\with} filters translators +of the wrong type: performers for an @code{Engraver_group} and engravers +for a @code{Performer_group}. In this test, the +@code{Instrument_name_engraver} is added to a @code{StaffGroup}, but +does not affect midi output, since it is filtered out." +} + +\score { + \new StaffGroup \with { + \consists "Instrument_name_engraver" + instrumentName = #"StaffGroup" + } + { + a'1 + } + \layout { } + \midi { } +}