Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Doc Tweaks #5

Merged
merged 1 commit into from

2 participants

@davglass

Some minor doc tweaks.

@nzakas nzakas merged commit 4a1afc9 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 30, 2012
  1. @davglass
This page is out of date. Refresh to see the latest.
View
16 javascript/src/asserts/ArrayAssert.js
@@ -60,7 +60,7 @@ YUITest.ArrayAssert = {
/**
* Asserts that a value is present in an array. This uses the triple equals
- * sign so no type cohersion may occur.
+ * sign so no type coercion may occur.
* @param {Object} needle The value that is expected in the array.
* @param {Array} haystack An array of values.
* @param {String} message (Optional) The message to display if the assertion fails.
@@ -79,7 +79,7 @@ YUITest.ArrayAssert = {
/**
* Asserts that a set of values are present in an array. This uses the triple equals
- * sign so no type cohersion may occur. For this assertion to pass, all values must
+ * sign so no type coercion may occur. For this assertion to pass, all values must
* be found.
* @param {Object[]} needles An array of values that are expected in the array.
* @param {Array} haystack An array of values to check.
@@ -125,7 +125,7 @@ YUITest.ArrayAssert = {
/**
* Asserts that a value is not present in an array. This uses the triple equals
* Asserts that a value is not present in an array. This uses the triple equals
- * sign so no type cohersion may occur.
+ * sign so no type coercion may occur.
* @param {Object} needle The value that is expected in the array.
* @param {Array} haystack An array of values.
* @param {String} message (Optional) The message to display if the assertion fails.
@@ -144,7 +144,7 @@ YUITest.ArrayAssert = {
/**
* Asserts that a set of values are not present in an array. This uses the triple equals
- * sign so no type cohersion may occur. For this assertion to pass, all values must
+ * sign so no type coercion may occur. For this assertion to pass, all values must
* not be found.
* @param {Object[]} needles An array of values that are not expected in the array.
* @param {Array} haystack An array of values to check.
@@ -191,7 +191,7 @@ YUITest.ArrayAssert = {
/**
* Asserts that the given value is contained in an array at the specified index.
- * This uses the triple equals sign so no type cohersion will occur.
+ * This uses the triple equals sign so no type coercion will occur.
* @param {Object} needle The value to look for.
* @param {Array} haystack The array to search in.
* @param {int} index The index at which the value should exist.
@@ -220,7 +220,7 @@ YUITest.ArrayAssert = {
/**
* Asserts that the values in an array are equal, and in the same position,
* as values in another array. This uses the double equals sign
- * so type cohersion may occur. Note that the array objects themselves
+ * so type coercion may occur. Note that the array objects themselves
* need not be the same for this test to pass.
* @param {Array} expected An array of the expected values.
* @param {Array} actual Any array of the actual values.
@@ -319,7 +319,7 @@ YUITest.ArrayAssert = {
/**
* Asserts that the values in an array are the same, and in the same position,
* as values in another array. This uses the triple equals sign
- * so no type cohersion will occur. Note that the array objects themselves
+ * so no type coercion will occur. Note that the array objects themselves
* need not be the same for this test to pass.
* @param {Array} expected An array of the expected values.
* @param {Array} actual Any array of the actual values.
@@ -348,7 +348,7 @@ YUITest.ArrayAssert = {
/**
* Asserts that the given value is contained in an array at the specified index,
* starting from the back of the array.
- * This uses the triple equals sign so no type cohersion will occur.
+ * This uses the triple equals sign so no type coercion will occur.
* @param {Object} needle The value to look for.
* @param {Array} haystack The array to search in.
* @param {int} index The index at which the value should exist.
View
20 javascript/src/asserts/Assert.js
@@ -98,7 +98,7 @@ YUITest.Assert = {
/**
* Asserts that a value is equal to another. This uses the double equals sign
- * so type cohersion may occur.
+ * so type coercion may occur.
* @param {Object} expected The expected value.
* @param {Object} actual The actual value to test.
* @param {String} message (Optional) The message to display if the assertion fails.
@@ -114,7 +114,7 @@ YUITest.Assert = {
/**
* Asserts that a value is not equal to another. This uses the double equals sign
- * so type cohersion may occur.
+ * so type coercion may occur.
* @param {Object} unexpected The unexpected value.
* @param {Object} actual The actual value to test.
* @param {String} message (Optional) The message to display if the assertion fails.
@@ -131,7 +131,7 @@ YUITest.Assert = {
/**
* Asserts that a value is not the same as another. This uses the triple equals sign
- * so no type cohersion may occur.
+ * so no type coercion may occur.
* @param {Object} unexpected The unexpected value.
* @param {Object} actual The actual value to test.
* @param {String} message (Optional) The message to display if the assertion fails.
@@ -147,7 +147,7 @@ YUITest.Assert = {
/**
* Asserts that a value is the same as another. This uses the triple equals sign
- * so no type cohersion may occur.
+ * so no type coercion may occur.
* @param {Object} expected The expected value.
* @param {Object} actual The actual value to test.
* @param {String} message (Optional) The message to display if the assertion fails.
@@ -167,7 +167,7 @@ YUITest.Assert = {
/**
* Asserts that a value is false. This uses the triple equals sign
- * so no type cohersion may occur.
+ * so no type coercion may occur.
* @param {Object} actual The actual value to test.
* @param {String} message (Optional) The message to display if the assertion fails.
* @method isFalse
@@ -182,7 +182,7 @@ YUITest.Assert = {
/**
* Asserts that a value is true. This uses the triple equals sign
- * so no type cohersion may occur.
+ * so no type coercion may occur.
* @param {Object} actual The actual value to test.
* @param {String} message (Optional) The message to display if the assertion fails.
* @method isTrue
@@ -230,7 +230,7 @@ YUITest.Assert = {
/**
* Asserts that a value is not null. This uses the triple equals sign
- * so no type cohersion may occur.
+ * so no type coercion may occur.
* @param {Object} actual The actual value to test.
* @param {String} message (Optional) The message to display if the assertion fails.
* @method isNotNull
@@ -245,7 +245,7 @@ YUITest.Assert = {
/**
* Asserts that a value is not undefined. This uses the triple equals sign
- * so no type cohersion may occur.
+ * so no type coercion may occur.
* @param {Object} actual The actual value to test.
* @param {String} message (Optional) The message to display if the assertion fails.
* @method isNotUndefined
@@ -260,7 +260,7 @@ YUITest.Assert = {
/**
* Asserts that a value is null. This uses the triple equals sign
- * so no type cohersion may occur.
+ * so no type coercion may occur.
* @param {Object} actual The actual value to test.
* @param {String} message (Optional) The message to display if the assertion fails.
* @method isNull
@@ -275,7 +275,7 @@ YUITest.Assert = {
/**
* Asserts that a value is undefined. This uses the triple equals sign
- * so no type cohersion may occur.
+ * so no type coercion may occur.
* @param {Object} actual The actual value to test.
* @param {String} message (Optional) The message to display if the assertion fails.
* @method isUndefined
Something went wrong with that request. Please try again.