blob: 81e7abe9aa53578eea546718dcb2388347fe978c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/usr/bin/env php
<?php
require 't/Test.php';
plan(3);
error_reporting( E_ALL );
define( 'MEDIAWIKI', 1 ); // Hack
require_ok( 'languages/Language.php' );
require_ok( 'includes/GlobalFunctions.php' );
require_ok( 'includes/Licenses.php' );
$str = "
* Free licenses:
** GFLD|Debian disagrees
";
#$lc = new Licenses ( $str );
#isa_ok( $lc, 'Licenses' );
#echo $lc->html;
/* vim: set filetype=php: */
|