Changeset ad28f83 for src/puppetcode/environments/gnuboat/modules/stdlib/spec/functions/chomp_spec.rb
- Timestamp:
- Aug 1, 2017, 3:45:14 PM (9 years ago)
- Branches:
- debian/bullseye, debian/jessie
- Children:
- ce0f6a4
- Parents:
- bcf0be5 (diff), cd0f9cc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/puppetcode/environments/gnuboat/modules/stdlib/spec/functions/chomp_spec.rb
rbcf0be5 rad28f83 18 18 it { is_expected.to run.with_params(AlsoString.new("one\n\n")).and_return("one\n") } 19 19 it { is_expected.to run.with_params([AlsoString.new("one\n"), AlsoString.new("two"), "three\n"]).and_return(["one", "two", "three"]) } 20 21 context 'should run with UTF8 and double byte characters' do 22 it { is_expected.to run.with_params("ůťƒ8\n\n").and_return("ůťƒ8\n") } 23 it { is_expected.to run.with_params("ネット\n\n").and_return("ネット\n") } 24 end 20 25 end
Note:
See TracChangeset
for help on using the changeset viewer.
