projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 11268: (follow-up) update DBIC schema classes
[koha_fer]
/
xt
/
tt_valid.t
diff --git
a/xt/tt_valid.t
b/xt/tt_valid.t
index
ae2e2e5
..
f71085e
100755
(executable)
--- a/
xt/tt_valid.t
+++ b/
xt/tt_valid.t
@@
-19,7
+19,7
@@
use warnings;
use strict;
use warnings;
use strict;
-use Test::More tests =>
1
;
+use Test::More tests =>
2
;
use File::Find;
use Cwd;
use C4::TTParser;
use File::Find;
use Cwd;
use C4::TTParser;
@@
-56,6
+56,11
@@
ok( !@files_with_directive_in_tag, "TT syntax: not using TT directive within HTM
} @files_with_directive_in_tag )
);
} @files_with_directive_in_tag )
);
+my $testtoken = 0;
+my $ttparser = C4::TTParser->new();
+$ttparser->unshift_token($testtoken);
+my $testtokenagain = C4::TTParser::next_token();
+is( $testtoken, $testtokenagain, "Token received same as original put on stack");
=head1 NAME
=head1 NAME