mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Enhancement - Path integration
- Obsoleted util.cpp spit, slurp calls
This commit is contained in:
parent
a8f03679ed
commit
abffaa184b
8 changed files with 19 additions and 110 deletions
|
@ -27,6 +27,7 @@
|
|||
#include <unistd.h>
|
||||
#include <Context.h>
|
||||
#include <StringTable.h>
|
||||
#include <File.h>
|
||||
#include <util.h>
|
||||
#include <test.h>
|
||||
|
||||
|
@ -39,7 +40,7 @@ int main (int argc, char** argv)
|
|||
|
||||
// Create a string file.
|
||||
std::string file = "./strings.xx-XX";
|
||||
spit (file, "# comment\n1 found");
|
||||
File::write (file, "# comment\n1 found");
|
||||
t.is (access (file.c_str (), F_OK), 0, "strings.xx-XX created.");
|
||||
|
||||
// Load the string file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue