Added -w to all shebangs [Florian Gross]
This commit is contained in:
parent
8eb35d4021
commit
97857409a9
2
instiki
2
instiki
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/ruby
|
||||
#!/usr/bin/ruby -w
|
||||
|
||||
# Executable file for a gem
|
||||
# must be same as ./instiki.rb
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/ruby
|
||||
#!/usr/bin/ruby -w
|
||||
|
||||
load File.dirname(__FILE__) + "/script/server"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/bin/env ruby -w
|
||||
|
||||
# Uncomment the line below to enable pdflatex tests; don't forget to comment them again
|
||||
# commiting to SVN
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/bin/env ruby -w
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'diff'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/bin/env ruby -w
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'web'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/bin/env ruby -w
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'redcloth_for_tex'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/bin/env ruby -w
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'web'
|
||||
|
@ -210,6 +210,19 @@ class RevisionTest < Test::Unit::TestCase
|
|||
"today</ins></p>", @page.revisions.last.display_diff
|
||||
end
|
||||
|
||||
def test_list_with_tildas
|
||||
list_with_tildas = <<-EOL
|
||||
* "a":~b
|
||||
* c~ d
|
||||
EOL
|
||||
|
||||
assert_markup_parsed_as(
|
||||
"<li><a href=\"~b\">a</a></li>\n" +
|
||||
"<li>c~ d</li>\n",
|
||||
list_with_tildas)
|
||||
end
|
||||
|
||||
|
||||
|
||||
def assert_markup_parsed_as(expected_output, input)
|
||||
revision = Revision.new(@page, 1, input, Time.local(2004, 4, 4, 16, 50), 'AnAuthor')
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/bin/env ruby -w
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'chunks/uri'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/bin/env ruby -w
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'url_rewriting_hack'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/bin/env ruby -w
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'wiki_service'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/bin/env ruby -w
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'wiki_service'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env ruby
|
||||
#!/bin/env ruby -w
|
||||
|
||||
require File.dirname(__FILE__) + '/../test_helper'
|
||||
require 'wiki_words'
|
||||
|
|
Loading…
Reference in a new issue