/* Copyright (c) 2004-2006, The Dojo Foundation All Rights Reserved. Licensed under the Academic Free License version 2.1 or above OR the modified BSD license. For more information on Dojo licensing, see: http://dojotoolkit.org/community/licensing.shtml */ dojo.require("dojo.string"); // NOTE: these tests are mostly a port from test_string.html function test_string_trim(){ var ws = " This has some white space at the ends! Oh no! "; var trimmed = "This has some white space at the ends! Oh no!"; jum.assertEquals("test10", trimmed, dojo.string.trim(ws)); }