<commit_before>import { module, test } from 'qunit';
import expect from '../helpers/expect-imports';
import string, {
  camelize,
  capitalize,
  classify,
  dasherize,
  decamelize,
  htmlSafe,
  indexOf,
  isHtmlSafe,
  lastIndexOf,
  length,
  replace,
  split,
  substr,
  substring,
  titleize,
  toLower,
  toUpper,
  underscore
} from 'ember-awesome-macros/string';

module('Acceptance | string imports');

test('all string global imports', function(assert) {
  expect(assert, string);

  assert.ok(string.camelize);
  assert.ok(string.capitalize);
  assert.ok(string.classify);
  assert.ok(string.dasherize);
  assert.ok(string.decamelize);
  assert.ok(string.escapeExpression);
  assert.ok(string.htmlSafe);
  assert.ok(string.indexOf);
  assert.ok(string.isHtmlSafe);
  assert.ok(string.lastIndexOf);
  assert.ok(string.length);
  assert.ok(string.replace);
  assert.ok(string.split);
  assert.ok(string.substr);
  assert.ok(string.substring);
  assert.ok(string.titleize);
  assert.ok(string.toLower);
  assert.ok(string.toUpper);
  assert.ok(string.underscore);
});

test('all string imports', function(assert) {
  assert.ok(camelize);
  assert.ok(capitalize);
  assert.ok(classify);
  assert.ok(dasherize);
  assert.ok(decamelize);
  assert.ok(htmlSafe);
  assert.ok(indexOf);<commit_msg>add missing escapeExpression import test<commit_after>import { module, test } from 'qunit';
import expect from '../helpers/expect-imports';
import string, {
  camelize,
  capitalize,
  classify,
  dasherize,
  decamelize,
  escapeExpression,
  htmlSafe,
  indexOf,
  isHtmlSafe,
  lastIndexOf,
  length,
  replace,
  split,
  substr,
  substring,
  titleize,
  toLower,
  toUpper,
  underscore
} from 'ember-awesome-macros/string';

module('Acceptance | string imports');

test('all string global imports', function(assert) {
  expect(assert, string);

  assert.ok(string.camelize);
  assert.ok(string.capitalize);
  assert.ok(string.classify);
  assert.ok(string.dasherize);
  assert.ok(string.decamelize);
  assert.ok(string.escapeExpression);
  assert.ok(string.htmlSafe);
  assert.ok(string.indexOf);
  assert.ok(string.isHtmlSafe);
  assert.ok(string.lastIndexOf);
  assert.ok(string.length);
  assert.ok(string.replace);
  assert.ok(string.split);
  assert.ok(string.substr);
  assert.ok(string.substring);
  assert.ok(string.titleize);
  assert.ok(string.toLower);
  assert.ok(string.toUpper);
  assert.ok(string.underscore);
});

test('all string imports', function(assert) {
  assert.ok(camelize);
  assert.ok(capitalize);
  assert.ok(classify);
  assert.ok(dasherize);
  assert.ok(decamelize);
  assert.ok(escapeExpression);
  assert.ok(htmlSafe);
  assert.ok(indexOf);
{'fraction_non_alphanumeric': 0.1458955223880597, 'fraction_numerical': 0.0, 'mean_word_length': 4.803030303030303, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4901578', 'n_tokens_mistral': 954, 'n_tokens_neox': 943, 'n_words': 147}