We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2d268b commit fd4cc3cCopy full SHA for fd4cc3c
tests/Pug/AssetsTest.php
@@ -134,4 +134,13 @@ public function testEnvironnement()
134
self::assertSame('development', $assets->getEnvironment());
135
self::assertSame($assets, $self);
136
}
137
+
138
+ /**
139
+ * @expectedException \InvalidArgumentException
140
+ * @expectedExceptionMessage Allowed pug engine are Jade\Jade, Pug\Pug or Phug\Renderer, stdClass given.
141
+ */
142
+ public function testBadEngine()
143
+ {
144
+ new Assets(new \stdClass());
145
+ }
146
0 commit comments