mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Portability: Updated to make main re-entrant()
- New INSTALL instructions to emscripten, and AUTHORS for contribution.
This commit is contained in:
parent
3d7c681ed0
commit
c7f2739dda
110 changed files with 942 additions and 1125 deletions
|
@ -25,13 +25,9 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include <cmake.h>
|
||||
#include <iostream> // TODO Remove.
|
||||
#include <test.h>
|
||||
#include <DOM.h>
|
||||
#include <Variant.h>
|
||||
#include <Context.h>
|
||||
|
||||
Context context;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool providerString (const std::string& path, Variant& var)
|
||||
|
@ -72,7 +68,7 @@ int main (int, char**)
|
|||
dom.addSource ("name.next", &providerString);
|
||||
dom.addSource ("name.size", &providerString);
|
||||
dom.addSource ("foo", &providerString);
|
||||
std::cout << dom.dump () << '\n';
|
||||
t.diag (dom.dump ());
|
||||
t.is (dom.count (), 4, "DOM now contains 4 nodes");
|
||||
|
||||
t.ok (dom.valid ("name"), "DOM 'name' valid");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue