From e33b12b17c011a91e45c8cd2e7879bbbace86293 Mon Sep 17 00:00:00 2001 From: Felix Rilling Date: Sun, 10 Mar 2019 11:07:40 +0100 Subject: [PATCH] Fixed typos in test suite descriptions. --- spec/core/ExceptionFormatterSpec.js | 2 +- spec/core/JsApiReporterSpec.js | 2 +- spec/core/PrettyPrintSpec.js | 4 ++-- spec/performance/large_object_test.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/core/ExceptionFormatterSpec.js b/spec/core/ExceptionFormatterSpec.js index 9cc3638b..40316190 100644 --- a/spec/core/ExceptionFormatterSpec.js +++ b/spec/core/ExceptionFormatterSpec.js @@ -96,7 +96,7 @@ describe("ExceptionFormatter", function() { ); }); - it("filters Jamine stack frames from Webkit style traces", function() { + it("filters Jasmine stack frames from Webkit style traces", function() { var error = { stack: 'http://localhost:8888/__spec__/core/UtilSpec.js:115:28\n' + 'fn1@http://localhost:8888/__jasmine__/jasmine.js:4320:27\n' + diff --git a/spec/core/JsApiReporterSpec.js b/spec/core/JsApiReporterSpec.js index f7fe8141..7a8cf2fb 100644 --- a/spec/core/JsApiReporterSpec.js +++ b/spec/core/JsApiReporterSpec.js @@ -209,7 +209,7 @@ describe("JsApiReporter", function() { expect(reporter.suiteResults(1, 1)).toEqual([suiteResult2]); }); - it("returns nothing for out of bounds indicies", function() { + it("returns nothing for out of bounds indices", function() { expect(reporter.suiteResults(0, 3)).toEqual([suiteResult1, suiteResult2]); expect(reporter.suiteResults(2, 3)).toEqual([]); }); diff --git a/spec/core/PrettyPrintSpec.js b/spec/core/PrettyPrintSpec.js index f2a0f6d9..47a5758a 100644 --- a/spec/core/PrettyPrintSpec.js +++ b/spec/core/PrettyPrintSpec.js @@ -23,7 +23,7 @@ describe("jasmineUnderTest.pp", function () { expect(jasmineUnderTest.pp(set)).toEqual("Set( 1, 2 )"); }); - it("should truncate sets with more elments than jasmineUnderTest.MAX_PRETTY_PRINT_ARRAY_LENGTH", function() { + it("should truncate sets with more elements than jasmineUnderTest.MAX_PRETTY_PRINT_ARRAY_LENGTH", function() { jasmine.getEnv().requireFunctioningSets(); var originalMaxSize = jasmineUnderTest.MAX_PRETTY_PRINT_ARRAY_LENGTH; @@ -48,7 +48,7 @@ describe("jasmineUnderTest.pp", function () { expect(jasmineUnderTest.pp(map)).toEqual("Map( [ 1, 2 ] )"); }); - it("should truncate maps with more elments than jasmineUnderTest.MAX_PRETTY_PRINT_ARRAY_LENGTH", function() { + it("should truncate maps with more elements than jasmineUnderTest.MAX_PRETTY_PRINT_ARRAY_LENGTH", function() { jasmine.getEnv().requireFunctioningMaps(); var originalMaxSize = jasmineUnderTest.MAX_PRETTY_PRINT_ARRAY_LENGTH; diff --git a/spec/performance/large_object_test.js b/spec/performance/large_object_test.js index 4018cae9..a59bb105 100644 --- a/spec/performance/large_object_test.js +++ b/spec/performance/large_object_test.js @@ -28,7 +28,7 @@ describe('Printing a big object', function(){ return object; } - it('takes a resonable amount of time', function(){ + it('takes a reasonable amount of time', function(){ bigObject = generateObject(0); expect(jasmineUnderTest.pp(bigObject)).toMatch(/cycle/); });