]> iEval git - html-element-library.git/blobdiff - t/position.t
Refactor tests (second pass)
[html-element-library.git] / t / position.t
diff --git a/t/position.t b/t/position.t
deleted file mode 100644 (file)
index 93dbfb5..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/usr/bin/perl
-use t::lib tests => 1;
-
-my $html =<<'EOHTML';
-<html>
-<head>
-</head>
-<body>
-<table>
-<tr>
-  <td>a  <td>a  <td>a  <td>a
-</tr>
-<tr>
-  <td>a  <td>a  <td id=findme>a  <td>a
-</tr>
-</table>
-</body>
-</html>
-EOHTML
-
-my $t1 = HTML::TreeBuilder->new_from_content ($html) ;
-my $found = $t1->look_down(id => 'findme');
-
-my $pos = join ' ', $found->position;
-is $pos, '-1 1 0 1 2';
This page took 0.015982 seconds and 4 git commands to generate.