Add integration tests

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2024-09-25 11:42:51 -07:00
parent 38a2064b08
commit f020155453
6 changed files with 271 additions and 0 deletions

26
tests/str.npp.expect Normal file
View File

@@ -0,0 +1,26 @@
to_str
asdf
asdf
This is a longer sentence
This is a longer sentence
the quick brown fox jumped over the lazy dog's escaped characters
the quick brown fox jumped over the lazy dog's escaped characters
to_repr
'to_repr'
'asdf'
'This is a longer sentence'
'the quick brown fox jumped over the lazy dog\'s escaped characters'
'I would\ninclude a\nmultiline string if\nit wasn\'t such a\npain to\ntest in the\n.expect file'
len
4
25
65
__add__
asdfasdf
asdfasdfasdf
asdfThis is a longer sentence
This is a longer sentenceasdf
__mul__
asdfasdfasdfasdf
This is a longer sentenceThis is a longer sentenceThis is a longer sentenceThis is a longer sentenceThis is a longer sentence
'asdfasdfasdfasdfasdfasdf'