diff options
Diffstat (limited to 'test/common')
-rw-r--r-- | test/common/span.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/common/span.h b/test/common/span.h index d9b1d3120e..55ef2c6bd2 100644 --- a/test/common/span.h +++ b/test/common/span.h @@ -496,6 +496,8 @@ public: TS_ASSERT(span.getStringAt(0) == data); TS_ASSERT(span.getStringAt(0, 2) == "he"); + TS_ASSERT(span.getStringAt(2) == "llo"); + TS_ASSERT(span.getStringAt(2, 3) == "llo"); span[3] = '\0'; TS_ASSERT(span.getStringAt(0) == "hel"); } |