Skip to content

Commit 2f13a5f

Browse files
committed
fbc-tests: disable bad test
- tests/wstring/conv-ascii-wstring.bas - we should like to check for ASC() results from malformed wstrings, but it appears to have different results depending on platform
1 parent 210ae88 commit 2f13a5f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/wstring/conv-ascii-wstring.bas

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ dim as string s2 = lcase(Wstr(s1))
1616
#else
1717

1818
'' Disable on DOS - it fails, and we don't really have a sensible wstring anyway
19-
#if not defined( __FB_DOS__ )
19+
'' Disable on ARM - it fails, and we might get results as in above with __FB_WIN32__
20+
'' !!!FIXME!!! we want to test conversions but this is a poorly written test!
21+
'' #if (not defined( __FB_DOS__ )) and (not defined( __FB_ARM__ ))
22+
#if 0
2023
assert( asc(s2, 1) = asc("?") )
2124
assert( asc(s2, 2) = asc("?") )
2225
#endif
2326

2427
#endif
28+

0 commit comments

Comments
 (0)