Initial import of the sources from SVN
This commit is contained in:
parent
e1a14bc27b
commit
223b2bec6c
204 changed files with 29431 additions and 0 deletions
14
test/unit/chunks/nowiki_test.rb
Executable file
14
test/unit/chunks/nowiki_test.rb
Executable file
|
@ -0,0 +1,14 @@
|
|||
require 'chunks/nowiki'
|
||||
require 'chunks/match'
|
||||
require 'test/unit'
|
||||
|
||||
class NoWikiTest < Test::Unit::TestCase
|
||||
include ChunkMatch
|
||||
|
||||
def test_simple_nowiki
|
||||
match(NoWiki, 'This sentence contains <nowiki>[[raw text]]</nowiki>. Do not touch!',
|
||||
:plain_text => '[[raw text]]'
|
||||
)
|
||||
end
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue