Skip to content

Commit

Permalink
fix issue mikechambers#161 from original fork
Browse files Browse the repository at this point in the history
  • Loading branch information
sangupta committed Apr 30, 2012
1 parent aa02012 commit c943a4c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/src/com/adobe/utils/StringUtilTest.as
Original file line number Diff line number Diff line change
Expand Up @@ -300,5 +300,11 @@ package com.adobe.utils
assertTrue("StringUtil.ltrim(\" XX\") == \"XX\"",
StringUtil.ltrim(" XX") == "XX");
}

public function testStringHasValue():void {
assertFalse("StringUtil.stringHasValue(null) == false", StringUtil.stringHasValue(null));
assertFalse("StringUtil.stringHasValue(\"\") == false", StringUtil.stringHasValue(""));
assertTrue("StringUtil.stringHasValue(\"XXX\") == true", StringUtil.stringHasValue("XXX"));
}
}
}
}

0 comments on commit c943a4c

Please sign in to comment.