<commit_before>var request = require('supertest');
var app = require('../src/app');

request(app)
  .get('/example')
  .expect('Content-Type', 'text/html; charset=utf-8')
  .expect(200)
  .end(function (err, res) {
    if (err) throw err;
  });<commit_msg>added a log if the test succeeds<commit_after>var request = require('supertest');
var app = require('../src/app');

request(app)
  .get('/example')
  .expect('Content-Type', 'text/html; charset=utf-8')
  .expect(200)
  .end(function (err, res) {
    if (err) 
    {
      throw err;
    }
    console.info('Test run completed');
  });
{'fraction_non_alphanumeric': 0.2, 'fraction_numerical': 0.013559322033898305, 'mean_word_length': 3.546153846153846, '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': '4173103', 'n_tokens_mistral': 215, 'n_tokens_neox': 206, 'n_words': 47}