<commit_before>--TEST--
Tests ignoring single line comments
--SKIPIF--
<?php include(__DIR__ . '/../skipif.inc'); ?>
--FILE--
<?php

$code =<<<ZEP
namespace Example;

 /* A comment before class name */
class Comment {
    /* Some comment */
    public function test_me() {
        /* Yet another comment */
    }
}
ZEP;

$ir = zephir_parse_file($code, '(eval code)');

var_dump($ir);
--EXPECT--
array(2) {<commit_msg>Correct sl_comment test to use single line comments<commit_after>--TEST--
Tests ignoring single line comments
--SKIPIF--
<?php include(__DIR__ . '/../skipif.inc'); ?>
--FILE--
<?php

$code =<<<ZEP
namespace Example;

 // A comment before class name
class Comment {
    // Some comment
    public function test_me() {
        // Yet another comment
    }
}
ZEP;

$ir = zephir_parse_file($code, '(eval code)');

var_dump($ir);
--EXPECT--
array(2) {
{'fraction_non_alphanumeric': 0.1761297798377752, 'fraction_numerical': 0.002317497103128621, 'mean_word_length': 3.0186046511627906, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '496895', 'n_tokens_mistral': 292, 'n_tokens_neox': 290, 'n_words': 85}