We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e6fee09 + e3d6572 commit 3057419Copy full SHA for 3057419
spec/unit/puppet/type/file_line_spec.rb
@@ -47,6 +47,24 @@
47
:match => '^\s*foo=.*$'
48
)}.not_to raise_error
49
end
50
+ it 'should accept utf8 characters' do
51
+ expect {
52
+ Puppet::Type.type(:file_line).new(
53
+ :name => 'ƒồỗ',
54
+ :path => my_path,
55
+ :line => 'ƒồỗ=ьåя',
56
+ :match => '^ьåя=βļάħ$'
57
+ )}.not_to raise_error
58
+ end
59
+ it 'should accept double byte characters' do
60
61
62
+ :name => 'フーバー',
63
64
+ :line => 'この=それ',
65
+ :match => '^この=ああ$'
66
67
68
it 'should accept posix filenames' do
69
file_line[:path] = tmp_path
70
expect(file_line[:path]).to eq(tmp_path)
0 commit comments