text: 'use strict';
  
  const generateRuleTests = require('../../helpers/rule-test-harness');
  
  generateRuleTests({
    name: 'no-triple-curlies',
  
    config: true,
  
    good: [
      '{{foo}}',
      '{{! template-lint-disable no-bare-strings }}',
      '{{! template-lint-disable }}',
      '{{! template-lint-disable no-triple-curlies}}{{{lol}}}',
    ],
  
    bad: [
      {
        template: '\n {{{foo}}}',
  
        verifyResults(results) {
          expect(results).toMatchInlineSnapshot(`
            Array [
              Object {
                "column": 1,
                "endColumn": 10,
                "endLine": 2,
                "filePath": "layout.hbs",
                "line": 2,
                "message": "Usage of triple curly brackets is unsafe",
                "rule": "no-triple-curlies",
                "severity": 2,
                "source": "{{{foo}}}",
              },
            ]
          `);
        },
      },
    ],
  });
  