浏览代码

Fix typo (Issue #22).

Vladislav Folts 12 年之前
父节点
当前提交
6b1436183e
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/rtl.js
  2. 1 1
      test/expected/set.js

+ 1 - 1
src/rtl.js

@@ -54,7 +54,7 @@ var impl = {
         
         function checkBit(b){
             if (b < 0 || b > 31)
-                throw new Error("integes between 0 and 31 expected, got " + b);
+                throw new Error("integers between 0 and 31 expected, got " + b);
         }
 
         function setBit(b){

+ 1 - 1
test/expected/set.js

@@ -22,7 +22,7 @@ var RTL$ = {
         
         function checkBit(b){
             if (b < 0 || b > 31)
-                throw new Error("integes between 0 and 31 expected, got " + b);
+                throw new Error("integers between 0 and 31 expected, got " + b);
         }
 
         function setBit(b){