Kare Morstol
62780a880a
String(contentsOfFile:) not implemented on Linux, use String(contentsOfFile: encoding:) instead.
2017-01-31 00:41:29 +01:00
Kare Morstol
43a726bbba
Fix testOpenForOverWritingCreatesIntermediateDirectory.
2017-01-30 20:37:13 +01:00
Kare Morstol
11b979c690
Fix AssertNoThrow silencing test failures. Cleanup test helping code.
2017-01-30 20:27:12 +01:00
Miguel Angel Quinones Garcia
93b2b36d68
Fix intermediate directories not created ( #32 )
...
* Fix intermediate directories not created
If the destination path contains nonexisting directories, the function would fail where otherwise it is expected to create all directories in the path.
* Add test for creation with intermediate directories
2017-01-30 20:13:49 +01:00
Kare Morstol
ce44afe306
Turn WriteableStream and ReadableStream into protocols.
...
* Remove WriteableStream.writeln, use .print instead.
* Work around compiler crash on Linux.
2017-01-09 17:43:53 +01:00
kareman
eea3cd2d61
Simplify WriteableStream.print
2016-11-01 21:46:46 +01:00
kareman
6acfe7f870
Add WriteableStream.print
2016-11-01 21:25:14 +01:00
kareman
221c9892bc
Replace OSX with macOS
2016-11-01 20:37:47 +01:00
kareman
8ce6100286
Add FileHandle.nullDev, cross-platformise some unit test.
2016-10-16 20:51:51 +02:00
kareman
0f0ddfb9ea
Add tests on Linux
2016-10-15 00:06:05 +02:00
kareman
ef98b8da07
Get it to build on Linux. No tests yet.
2016-10-13 19:17:40 +02:00
Kare Morstol
ed36e0228f
Add ‘Tests’ suffix to test folders. As required by Swift Package Manager.
2016-10-07 22:11:37 +02:00