[gjs: 2/3] testRegress: Fix misspelled call in GBoxed regression tests




commit bdd3e81a785421419859a685eaa8c06874cac9c6
Author: Björn Daase <bjoern daase net>
Date:   Sun Nov 29 19:10:19 2020 +0100

    testRegress: Fix misspelled call in GBoxed regression tests

 installed-tests/js/testRegress.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/installed-tests/js/testRegress.js b/installed-tests/js/testRegress.js
index 10763989..7985fb29 100644
--- a/installed-tests/js/testRegress.js
+++ b/installed-tests/js/testRegress.js
@@ -849,7 +849,7 @@ describe('Life, the Universe and Everything', function () {
         });
 
         it('method cannot be called on a GBoxed of the wrong type', function () {
-            expect(() => Regress.TestSimpleBoxedA.protoype.copy.call(wrongBoxed))
+            expect(() => Regress.TestSimpleBoxedA.prototype.copy.call(wrongBoxed))
                 .toThrow();
         });
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]