summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/data-formatter/stringprinter/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/data-formatter/stringprinter/main.cpp')
-rw-r--r--lldb/test/functionalities/data-formatter/stringprinter/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/test/functionalities/data-formatter/stringprinter/main.cpp b/lldb/test/functionalities/data-formatter/stringprinter/main.cpp
index fc04ed538d6..e30e8fb37f9 100644
--- a/lldb/test/functionalities/data-formatter/stringprinter/main.cpp
+++ b/lldb/test/functionalities/data-formatter/stringprinter/main.cpp
@@ -11,13 +11,11 @@
int main (int argc, char const *argv[])
{
- std::string stdstring("Hello\t\tWorld\nI am here\t\tto say hello\n");
+ std::string stdstring("Hello\t\tWorld\nI am here\t\tto say hello\n"); //%self.addTearDownHook(lambda x: x.runCmd("setting set escape-non-printables true"))
const char* constcharstar = stdstring.c_str();
return 0; //% self.assertTrue(self.frame().FindVariable('stdstring').GetSummary() == '"Hello\\t\\tWorld\\nI am here\\t\\tto say hello\\n"')
//% self.assertTrue(self.frame().FindVariable('constcharstar').GetSummary() == '"Hello\\t\\tWorld\\nI am here\\t\\tto say hello\\n"')
//% self.runCmd("setting set escape-non-printables false")
- //% print self.frame().FindVariable('stdstring').GetSummary()
//% self.assertTrue(self.frame().FindVariable('stdstring').GetSummary() == '"Hello\t\tWorld\nI am here\t\tto say hello\n"')
//% self.assertTrue(self.frame().FindVariable('constcharstar').GetSummary() == '"Hello\t\tWorld\nI am here\t\tto say hello\n"')
- //% self.runCmd("setting set escape-non-printables true")
}
OpenPOWER on IntegriCloud