<commit_before>var path = require('path')
var fse = require('../')
var testutil = require('testutil')
var terst = require('terst')

var TEST_DIR;

describe('native fs', function() {
  beforeEach(function() {
    TEST_DIR = testutil.createTestDir('fs-extra')
  })

  afterEach(function(done) {
    fse.remove(TEST_DIR, done)
  })

  it('should use native fs methods', function() {
    var file = path.join(TEST_DIR, 'write.txt')
    fse.writeFileSync(file, 'hello')
    var data = fse.readFileSync(file, 'utf8')
    EQ (data, 'hello')
  })
})<commit_msg>test/fs-integration: dropped terst for assert<commit_after>var assert = require('assert')
var path = require('path')
var fse = require('../')
var testutil = require('testutil')

var TEST_DIR;

describe('native fs', function() {
  beforeEach(function() {
    TEST_DIR = testutil.createTestDir('fs-extra')
  })

  afterEach(function(done) {
    fse.remove(TEST_DIR, done)
  })

  it('should use native fs methods', function() {
    var file = path.join(TEST_DIR, 'write.txt')
    fse.writeFileSync(file, 'hello')
    var data = fse.readFileSync(file, 'utf8')
    assert.equal(data, 'hello')
  })
})
{'fraction_non_alphanumeric': 0.1671018276762402, 'fraction_numerical': 0.0017406440382941688, 'mean_word_length': 4.251141552511416, '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': '4093264', 'n_tokens_mistral': 403, 'n_tokens_neox': 394, 'n_words': 87}