comparison test/testc3.py @ 311:ff665880a6b0

Added testcase for kernel and userspace
author Windel Bouwman
date Mon, 16 Dec 2013 12:49:24 +0100
parents 2e7f55319858
children 04cf4d26a3bc
comparison
equal deleted inserted replaced
310:e95e5572cd6d 311:ff665880a6b0
259 259
260 def testNonBoolCondition(self): 260 def testNonBoolCondition(self):
261 snippet = """ 261 snippet = """
262 module tst; 262 module tst;
263 function void t() { 263 function void t() {
264 if (3) { 264 if (3+3) {
265 } 265 }
266 } 266 }
267 """ 267 """
268 self.expectErrors(snippet, [4]) 268 self.expectErrors(snippet, [4])
269 269