mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Bug #807
- Fixed bug #807, which caused a lack of Lua to prevent tests from building (thanks to Owen Clarke).
This commit is contained in:
parent
fde7ec107a
commit
0ee1f9c1c6
2 changed files with 8 additions and 0 deletions
|
@ -156,6 +156,8 @@
|
||||||
(thanks to Bryce Harrington).
|
(thanks to Bryce Harrington).
|
||||||
+ Applied patch for #803, allowing rc.confirmation to bypass confirmation of
|
+ Applied patch for #803, allowing rc.confirmation to bypass confirmation of
|
||||||
the deletion of a recurring task (thanks to Matt Kraai).
|
the deletion of a recurring task (thanks to Matt Kraai).
|
||||||
|
+ Fixed bug #807, which caused a lack of Lua to prevent tests from building
|
||||||
|
(thanks to Owen Clarke).
|
||||||
|
|
||||||
# Untracked Bugs, biggest first.
|
# Untracked Bugs, biggest first.
|
||||||
+ Fixed bug that required the '%YAML' prologue in a YAML import.
|
+ Fixed bug that required the '%YAML' prologue in a YAML import.
|
||||||
|
|
|
@ -42,7 +42,11 @@ Context context;
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int main (int argc, char** argv)
|
int main (int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
#if defined(HAVE_LIBLUA)
|
||||||
UnitTest t (7);
|
UnitTest t (7);
|
||||||
|
#else
|
||||||
|
UnitTest t (6);
|
||||||
|
#endif
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -52,7 +56,9 @@ int main (int argc, char** argv)
|
||||||
// TODO dom.get rc.name
|
// TODO dom.get rc.name
|
||||||
DOM dom;
|
DOM dom;
|
||||||
t.is (dom.get ("system.version"), VERSION, "DOM system.version -> VERSION");
|
t.is (dom.get ("system.version"), VERSION, "DOM system.version -> VERSION");
|
||||||
|
#ifdef HAVE_LIBLUA
|
||||||
t.is (dom.get ("system.lua.version"), LUA_RELEASE, "DOM system.lua.version -> LUA_RELEASE");
|
t.is (dom.get ("system.lua.version"), LUA_RELEASE, "DOM system.lua.version -> LUA_RELEASE");
|
||||||
|
#endif
|
||||||
t.ok (dom.get ("system.os") != "<unknown>", "DOM system.os -> != Unknown");
|
t.ok (dom.get ("system.os") != "<unknown>", "DOM system.os -> != Unknown");
|
||||||
t.is (dom.get ("context.program"), "task", "DOM context.program -> 'task'");
|
t.is (dom.get ("context.program"), "task", "DOM context.program -> 'task'");
|
||||||
t.is (dom.get ("context.args"), "task", "DOM context.args -> 'task'");
|
t.is (dom.get ("context.args"), "task", "DOM context.args -> 'task'");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue