changeset 1439:354640db5a7f

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 01 Jul 2015 10:00:21 +0200
parents af112b7d9cba
children 3567503c00a7
files UnitTestsSources/LuaTests.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTestsSources/LuaTests.cpp	Wed Jul 01 09:56:41 2015 +0200
+++ b/UnitTestsSources/LuaTests.cpp	Wed Jul 01 10:00:21 2015 +0200
@@ -249,7 +249,7 @@
 
   std::string s;
   lua.Execute(s, "print(HttpGet({}))");
-  ASSERT_EQ("ERROR", Orthanc::Toolbox::StripSpaces(s));
+  ASSERT_EQ("nil", Orthanc::Toolbox::StripSpaces(s));
 
 #if UNIT_TESTS_WITH_HTTP_CONNEXIONS == 1  
   lua.Execute(s, "print(string.len(HttpGet(\"" + url + "\")))");