spec/semi_validator_spec.rb in semi-0.3.1 vs spec/semi_validator_spec.rb in semi-0.3.2
- old
+ new
@@ -17,10 +17,13 @@
['foobar', ['/fubar/'], false],
[nil, 'required', false],
[nil, ['required'], false],
['/etc/passwd', 'path', true],
['../parent', ['path'], true],
- ['.005', 'path', false],
+ ['.005', 'path', true],
+ ['file.name', 'path', true],
+ ['~user', 'path', true],
+ ['~user/dir/file', 'path', true],
['http://www.simple.com',
'url', true],
['http://abit.more.complex.com/',
'url', true],
['http://www.complex.com:8080/some/page.html',
\ No newline at end of file