Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 32... Línea 32...
32
    /**
32
    /**
33
     * Tests the quote helper
33
     * Tests the quote helper
34
     *
34
     *
35
     * @covers ::quote
35
     * @covers ::quote
36
     */
36
     */
37
    public function test_quote() {
37
    public function test_quote(): void {
38
        $engine = new \Mustache_Engine();
38
        $engine = new \Mustache_Engine();
39
        $context = new \Mustache_Context([
39
        $context = new \Mustache_Context([
40
            'world' => '{{planet}}',
40
            'world' => '{{planet}}',
41
            'planet' => '<earth>'
41
            'planet' => '<earth>'
42
        ]);
42
        ]);