summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2011-04-17 14:03:02 +0000
committermurphy <murphy@rubychan.de>2011-04-17 14:03:02 +0000
commitd8c9161dc174e364fc4a3e8e9df1d45262c5cc4a (patch)
tree0f079cd03bb4fb43c36ee5c161b210c7a9cbd189 /test
parent84bbaddb495a1657433106a85274424e5a56259e (diff)
downloadcoderay-d8c9161dc174e364fc4a3e8e9df1d45262c5cc4a.tar.gz
renamed pre_* token kinds to predefined_*
Diffstat (limited to 'test')
-rw-r--r--test/unit/word_list.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/word_list.rb b/test/unit/word_list.rb
index 449c9dc..803e268 100644
--- a/test/unit/word_list.rb
+++ b/test/unit/word_list.rb
@@ -23,12 +23,12 @@ class WordListTest < Test::Unit::TestCase
# make a WordList
IDENT_KIND = WordList.new(:ident).
add(RESERVED_WORDS, :reserved).
- add(PREDEFINED_TYPES, :pre_type).
- add(PREDEFINED_CONSTANTS, :pre_constant)
+ add(PREDEFINED_TYPES, :predefined_type).
+ add(PREDEFINED_CONSTANTS, :predefined_constant)
def test_word_list_example
- assert_equal :pre_type, IDENT_KIND['void']
- # assert_equal :pre_constant, IDENT_KIND['...'] # not specified
+ assert_equal :predefined_type, IDENT_KIND['void']
+ # assert_equal :predefined_constant, IDENT_KIND['...'] # not specified
end
def test_word_list