File: unknown.t

package info (click to toggle)
libmakefile-dom-perl 0.004-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 616 kB
  • ctags: 535
  • sloc: perl: 6,552; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (5)
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
27
28
use t::GmakeDOM;

plan tests => blocks() * 2;

run_tests;

__DATA__

=== TEST 1: unknown entities
--- src

a $(foo)
	echo $@

--- dom
MDOM::Document::Gmake
  MDOM::Unknown
    MDOM::Token::Bare               'a '
    MDOM::Token::Interpolation      '$(foo)'
    MDOM::Token::Whitespace         '\n'
  MDOM::Unknown
    MDOM::Token::Bare               '\techo '
    MDOM::Token::Interpolation      '$@'
    MDOM::Token::Whitespace         '\n'