Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

the descriptions of my .only tests was a bit wrong

Fredrik Enestad6fcbef1b6223
diff --git a/test/acceptance/misc/only/bdd.js b/test/acceptance/misc/only/bdd.js
index d2f1e7c7..56627ab3 100644
--- a/test/acceptance/misc/only/bdd.js
+++ b/test/acceptance/misc/only/bdd.js
@@ -8,7 +8,7 @@ describe('should only run .only test in this bdd suite', function() {
var zero = 0;
zero.should.equal(0, 'this .only test should run');
});
- it('should run this test, not (including a subset of the .only test title)', function() {
+ it('should run this test, not (includes the title of the .only test)', function() {
var zero = 0;
zero.should.equal(1, 'this test should have been skipped');
});
diff --git a/test/acceptance/misc/only/qunit.js b/test/acceptance/misc/only/qunit.js
index 944214d0..e1d9ac1a 100644
--- a/test/acceptance/misc/only/qunit.js
+++ b/test/acceptance/misc/only/qunit.js
@@ -11,6 +11,6 @@ test('should not run this test', function() {
test.only('should run this test', function() {
ok(0 === 0, 'this .only test should run');
});
-test('should run this test, not (including a subset of the .only test title)', function() {
+test('should run this test, not (includes the title of the .only test)', function() {
ok(0 === 1, 'this test should have been skipped');
});
\ No newline at end of file
diff --git a/test/acceptance/misc/only/tdd.js b/test/acceptance/misc/only/tdd.js
index 85e247f0..ed7e9063 100644
--- a/test/acceptance/misc/only/tdd.js
+++ b/test/acceptance/misc/only/tdd.js
@@ -8,7 +8,7 @@ suite('should only run .only test in this tdd suite', function() {
var zero = 0;
zero.should.equal(0, 'this .only test should run');
});
- test('should run this test, not (including a subset of the .only test title)', function() {
+ test('should run this test, not (includes the title of the .only test)', function() {
var zero = 0;
zero.should.equal(1, 'this test should have been skipped');
});