summaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-04-20 19:49:53 +0000
committermurphy <murphy@rubychan.de>2011-04-20 19:49:53 +0000
commitaa17b9942d6ca3d01e3f74513e0903a195c23b22 (patch)
treeeeee0ac8f13199d726f9eeb8f4ad7194773f0d36 /test/functional
parent763948b33279a418b17f09f110e8cab0035a0734 (diff)
downloadcoderay-aa17b9942d6ca3d01e3f74513e0903a195c23b22.tar.gz
Encoder refactoring to fix LOC and Statistic encoders
Diffstat (limited to 'test/functional')
-rwxr-xr-xtest/functional/examples.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/functional/examples.rb b/test/functional/examples.rb
index eb37c73..aed7605 100755
--- a/test/functional/examples.rb
+++ b/test/functional/examples.rb
@@ -65,16 +65,18 @@ Tokens 26
Non-Whitespace 15
Bytes Total 31
-Token Types (5):
+Token Types (7):
type count ratio size (average)
-------------------------------------------------------------
TOTAL 26 100.00 % 1.2
delimiter 6 23.08 % 1.0
operator 5 19.23 % 1.0
space 5 19.23 % 1.0
- begin_group 3 11.54 % 0.0
+ key 4 15.38 % 0.0
+ :begin_group 3 11.54 % 0.0
+ :end_group 3 11.54 % 0.0
content 3 11.54 % 4.3
- end_group 3 11.54 % 0.0
+ string 2 7.69 % 0.0
integer 1 3.85 % 2.0
STATISTIC