~ubuntu-branches/ubuntu/quantal/cubictemp/quantal

« back to all changes in this revision

Viewing changes to test/ptests/if.test

  • Committer: Bazaar Package Importer
  • Author(s): Mohammed Adnène Trojette
  • Date: 2009-03-21 19:56:53 UTC
  • mfrom: (3.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090321195653-2tj0jz2itpfyxt8y
Tags: 2.0-1
* New upstream release.
* debian/control:
   + bump Standards-Version to 3.8.1.
   + bump debhelper compatibility to 7.
   + add ${misc:Depends} to Depends.
* Remove unneeded patches and patching system accordingly.
* Update debian/copyright: licence is now MIT.
* Update packaging to prevent FTBFS. Thanks to Josselin
  Mouette. (Closes: #516162)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
@!if 1 then "a" else "b"!@
 
1
@!"a" if 1 else "b"!@
2
2
 
3
 
@!if 0 then "a" else "b"!@
 
3
@!"a" if 0 else "b"!@
4
4
 
5
5
<!--(block foo)
6
6
a
7
7
b
8
8
(end)-->
9
 
@!if 1 then foo else "none"!@
10
 
 
11
 
@!if 0 then foo else "none"!@
12
 
 
13
 
@!if 1 then "safe" else 1.aSyntaxError!@
 
9
@!foo if 1 else "none"!@
 
10
 
 
11
@!foo if 0 else "none"!@
 
12
 
 
13
@!"safe" if 1 else 1/0!@