factor/extra/gpu/shaders/shaders-tests.factor

13 lines
443 B
Factor
Raw Normal View History

2009-07-19 15:31:10 -04:00
! (c)2009 Joe Groff bsd license
USING: multiline gpu.shaders gpu.shaders.private tools.test ;
IN: gpu.shaders.tests
2009-09-20 23:42:40 -04:00
[ """ERROR: foo.factor:20: Bad command or filename
2009-07-19 15:31:10 -04:00
INFO: foo.factor:30: The operation completed successfully
2009-09-20 23:42:40 -04:00
NOT:A:LOG:LINE""" ]
2009-07-19 15:31:10 -04:00
[ T{ shader { filename "foo.factor" } { line 19 } }
2009-09-20 23:42:40 -04:00
"""ERROR: 0:1: Bad command or filename
2009-07-19 15:31:10 -04:00
INFO: 0:11: The operation completed successfully
2009-09-20 23:42:40 -04:00
NOT:A:LOG:LINE""" replace-log-line-numbers ] unit-test
2009-07-19 15:31:10 -04:00