From 656833530941ef21c1a59656a5572b5155d0c302 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Sun, 30 Jan 2011 20:02:16 -0800 Subject: tests: Fix tests with UCS-2 Python. Python can be built with either UCS2 or UCS4 support. When built with UCS2 the python related surrogate pairs tests cannot pass. This commit handles this situation more gracefully. --- tests/ovsdb-data.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/ovsdb-data.at') diff --git a/tests/ovsdb-data.at b/tests/ovsdb-data.at index 98e81083..97369619 100644 --- a/tests/ovsdb-data.at +++ b/tests/ovsdb-data.at @@ -457,12 +457,12 @@ OVSDB_CHECK_POSITIVE_CPY([strings no more than 2 characters long], '["a"]' \ '["ab"]' \ '["abc"]' \ - '["\ud834\udd1e"]']], + '["de"]']], [["" "a" "ab" constraint violation: "abc" length 3 is greater than maximum allowed length 2 -"𝄞"]]) +"de"]]) AT_BANNER([OSVDB -- simple data]) -- cgit v1.2.3