updated zstring_test to accomodate asInteger.
This commit is contained in:
parent
6ab31da76f
commit
6cd2fd6cc1
@ -116,4 +116,11 @@ int main(int argc, char **argv) {
|
||||
std::cout << "quoted string: " << test22 << std::endl;
|
||||
std::cout << "quoted string: " << test22.getTokenExclude("\"") << std::endl;
|
||||
|
||||
coreutils::ZString test23("2");
|
||||
std::cout << "integer '2' is [" << test23 << "]" << std::endl;
|
||||
coreutils::ZString test24("53524534");
|
||||
std::cout << "integer '53524534' is [" << test24 << "]" << std::endl;
|
||||
coreutils::ZString test25("-543");
|
||||
std::cout << "integer '-543' is [" << test25 << "]" << std::endl;
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user