aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMike Buland <mbuland@penny-arcade.com>2018-12-17 10:03:18 -0800
committerMike Buland <mbuland@penny-arcade.com>2018-12-17 10:03:18 -0800
commit4a541f7ba5306f9ebcc7f0fe2eeb663d3f527070 (patch)
tree4402b7d6c711fe79d30d33981a188d99d2c2c81b /src/tests
parent3f67108249b5c4f97841beee18fdd761919fe754 (diff)
downloadlibbu++-4a541f7ba5306f9ebcc7f0fe2eeb663d3f527070.tar.gz
libbu++-4a541f7ba5306f9ebcc7f0fe2eeb663d3f527070.tar.bz2
libbu++-4a541f7ba5306f9ebcc7f0fe2eeb663d3f527070.tar.xz
libbu++-4a541f7ba5306f9ebcc7f0fe2eeb663d3f527070.zip
Bu::Json handles encoding control chars.
It still needs to handle the rest of unicode properly. It'll require a minor change but shouldn't be too bad overall.
Diffstat (limited to '')
-rw-r--r--src/tests/json.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/json.cpp b/src/tests/json.cpp
index d588a02..6490d8d 100644
--- a/src/tests/json.cpp
+++ b/src/tests/json.cpp
@@ -5,7 +5,7 @@
5 5
6int main( int argc, char *argv[] ) 6int main( int argc, char *argv[] )
7{ 7{
8 Bu::Json j("Hi there"); 8 Bu::Json j( "\x01" "ACTION" "\x01" );
9 Bu::println( j.toString() ); 9 Bu::println( j.toString() );
10 return 0; 10 return 0;
11} 11}