summaryrefslogtreecommitdiffstats
path: root/parser/html/java/htmlparser/ruby-gcj/test/domencoding.rb
diff options
context:
space:
mode:
Diffstat (limited to 'parser/html/java/htmlparser/ruby-gcj/test/domencoding.rb')
-rw-r--r--parser/html/java/htmlparser/ruby-gcj/test/domencoding.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/parser/html/java/htmlparser/ruby-gcj/test/domencoding.rb b/parser/html/java/htmlparser/ruby-gcj/test/domencoding.rb
new file mode 100644
index 000000000..1beb94c10
--- /dev/null
+++ b/parser/html/java/htmlparser/ruby-gcj/test/domencoding.rb
@@ -0,0 +1,5 @@
+require 'nu/validator'
+
+ARGV.each do |arg|
+ puts Nu::Validator::parse(open(arg)).root.name
+end