Changeset be0859f for src/puppetcode/environments/gnuboat/modules/stdlib/spec/functions/squeeze_spec.rb
- Timestamp:
- Jul 31, 2017, 6:42:27 PM (9 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- fc9d514
- Parents:
- eb1ccd6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/puppetcode/environments/gnuboat/modules/stdlib/spec/functions/squeeze_spec.rb
reb1ccd6 rbe0859f 15 15 it { is_expected.to run.with_params('aaaaaaaaa', 'a').and_return('a') } 16 16 it { is_expected.to run.with_params('aaaaaaaaabbbbbbbbbbcccccccccc', 'b-c').and_return('aaaaaaaaabc') } 17 end 18 19 context 'should run with UTF8 and double byte characters' do 20 it { is_expected.to run.with_params('ậậậậậậậậậậậậậậậậậậậậ').and_return('ậ') } 21 it { is_expected.to run.with_params('語語語語語語語', '語').and_return('語') } 22 it { is_expected.to run.with_params('ậậậậậậậậậậậậậậậậậ語語語語©©©©©', '©').and_return('ậậậậậậậậậậậậậậậậậ語語語語©') } 17 23 end 18 24
Note:
See TracChangeset
for help on using the changeset viewer.
