<commit_before>var expect = require('chai').expect;

describe('template strings', function() {
  it('should be a string', function() {
    var string = `abe`;
    expect(string).to.be.a('string');
  });
});<commit_msg>more tests<commit_after>var expect = require('chai').expect;

describe('template strings', function() {
  it('should be a string', function() {
    var string = `abe`;
    expect(string).to.be.a('string');
  });

  it('can evaluate variables', function  () {
    var bar = 'baz';
    var string = `foo${bar}`;
    expect(string).to.equal('foobaz');
  });

  it('can execute function', function () {
    var string = `The date is: ${new Date()}`;
    var date = new Date();
    expect(string).to.equal('The date is: ' + date);
  });

  it('can evaluate expressions', function () {
    var string = `1 + 2 = ${1 + 2}`;
    expect(string).to.equal('1 + 2 = 3');
  });

  it('can handle multiline strings', function () {
    var string = `hello
                  world`;
    expect(string).to.equal('hello\n                  world');
  });

});
{'fraction_non_alphanumeric': 0.19659735349716445, 'fraction_numerical': 0.006616257088846881, 'mean_word_length': 3.057471264367816, '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': '7557294', 'n_tokens_mistral': 347, 'n_tokens_neox': 335, 'n_words': 85}