diff --git a/test/ctl/string_test.cc b/test/ctl/string_test.cc index 81464b571..e25b60a62 100644 --- a/test/ctl/string_test.cc +++ b/test/ctl/string_test.cc @@ -259,13 +259,13 @@ main() return 55; } - // { - // ctl::string s = "hello"; - // ctl::string s2 = "world"; - // s.swap(s2); - // if (s != "world" || s2 != "hello") - // return 56; - // } + { + ctl::string s = "hello"; + ctl::string s2 = "world"; + s.swap(s2); + if (s != "world" || s2 != "hello") + return 56; + } { ctl::string s = "hello";