Commit Graph

47 Commits

Author SHA1 Message Date
Andreas Hofer
864066c51e added more control characters to test case 2016-04-03 19:51:48 +02:00
Andreas Hofer
2a5205e53c fix problem with escaping zero and other control characters 2016-03-30 19:33:20 +02:00
kikito
5673f2364d Stops relying on rawlen/# to calculate the length of the sequence part of a table
Fixes #24
2016-03-06 17:06:14 +01:00
mpeterv
daaefbd870 Do not allow collecting weak tables while they are being inspected
Fixes #22
2015-11-27 14:53:56 +03:00
kikito
4f9761b631 fixes __len issue using rawlen instead of #t in a couple places 2015-11-21 17:13:48 +01:00
kikito
387a2f683a adds test for rawlen 2015-11-21 17:04:28 +01:00
mpeterv
373d56d4be Fix order of arguments in assertions
The first argument must be the expected value, the second - the actual one.
2014-11-18 20:02:55 +03:00
kikito
e4a9c872b4 remove redundant describe block 2014-09-19 22:56:57 +02:00
kikito
f153849088 remove unused values & params 2014-09-19 22:54:35 +02:00
kikito
182e6f28c1 Fix float keys being masked in tables with array elements 2014-09-19 22:50:48 +02:00
kikito
99e8c03959 newline & indent options 2014-09-13 12:33:20 +02:00
kikito
9054ee1051 <key>, <metatable> -> inspect.KEY, inspect.METATABLE 2014-09-13 12:12:41 +02:00
kikito
1fb5373a45 Use '<key>' and '<metatable> on keys correctly 2014-09-12 15:36:38 +02:00
kikito
b9b780caad unindent in specs 2014-09-07 22:32:31 +02:00
kikito
2961caa14a process option handles keys as well as items 2014-08-16 19:44:35 +02:00
kikito
5ecaca9205 better test names 2014-08-16 16:50:29 +02:00
kikito
a1b30ad8a3 process now handles most values. But what to do with keys? 2014-07-06 18:44:31 +02:00
kikito
7195bfa423 remove filter option 2014-07-06 17:24:37 +02:00
kikito
a2ccd9220c extend filter with a path parameter. Fixes #12 2014-02-09 18:42:38 +01:00
Kodi Arfer
6373d7748a added more escaping tests 2014-01-07 08:56:28 -05:00
kikito
76138d86a7 added filter option 2013-09-15 13:02:45 +02:00
kikito
8a65da658a made depth an options parameter 2013-09-15 11:23:01 +02:00
Cheyi Lin
e6e4d07e51 add luajit cdata test 2013-06-27 18:05:19 +08:00
kikito
2b502e1a81 fixed metatable-related loop when a table is its own index. References #4 2013-01-21 00:49:22 +01:00
kikito
1514d86828 fix overflow when a table is its own metatable. References #4 2013-01-20 17:23:36 +01:00
kikito
0571e63e01 use busted for specs instead of telescope 2013-01-20 17:07:41 +01:00
kikito
f4eceb558a spacing in spec 2012-10-29 23:41:56 +01:00
kikito
78c4643ba0 made depth default to infinite 2012-10-29 23:32:44 +01:00
kikito
b744b7f3f8 removed table ids from tables that appear less than twice. Fixes #2 2012-10-29 23:26:49 +01:00
kikito
d01950cee3 removed should from specs. fixes #3 2012-10-29 21:11:20 +01:00
Enrique García Cota
4c92bad614 simplified spec running. Added new instructions for it. Managed case where __toString throws an error. Made local a function that was global by mistake 2011-08-13 00:52:55 +02:00
Enrique García Cota
8804f4f1a8 added counters for functions, tables, userdata and threads. updated to v1.1 2011-05-10 00:31:56 +02:00
Enrique García Cota
f46ce9b86b added __tostring comment at the beginning, if possible 2011-04-24 02:09:24 +02:00
Enrique García Cota
395b02ecbe added metatable support 2011-04-24 01:39:05 +02:00
Enrique García Cota
c25b42a610 keys sorting is now explicitly tested 2011-04-24 01:11:51 +02:00
Enrique García Cota
80feaaf4d0 Depth control also working on keys 2011-04-24 01:02:05 +02:00
Enrique García Cota
4572d02f72 I didnt commit the right stuff on previous commit. fixing that 2011-04-24 00:46:43 +02:00
Enrique García Cota
71bf1a87a0 depth works on values. It was too easy 2011-04-24 00:43:55 +02:00
Enrique García Cota
4e3eb102ed tables working quite well, I am happy :) 2011-04-24 00:16:36 +02:00
Enrique García Cota
b51be52bf0 nested dictionary tables start working 2011-04-24 00:04:45 +02:00
Enrique García Cota
51153a31c6 first tests with dictionary-type table are passing! 2011-04-23 23:29:52 +02:00
Enrique García Cota
ecf208a938 organized tests into groups 2011-04-23 21:33:03 +02:00
Enrique García Cota
87b3e1d82c strings were a bit difficult 2011-04-23 21:00:41 +02:00
Enrique García Cota
b8286f82dc nested tables 2011-04-23 20:17:43 +02:00
Enrique García Cota
77104ea09e simple arrays 2011-04-23 20:07:57 +02:00
Enrique García Cota
3d3840393e allright, so you just wrote a bunch of code without writing any tests. Now scrap it and start over, writing those damn tests! 2011-04-23 19:48:43 +02:00
Enrique García Cota
14bbbdc78f initial commit 2011-04-21 01:11:42 +02:00