Changeset 227


Ignore:
Timestamp:
May 1, 2007, 1:55:32 AM (18 years ago)
Author:
dai
Message:

文字列の比較演算子の戻り値がLong型になっていたので、Booleanに修正した。
String.GetTypeのテストケースを修正。

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/String.ab

    r226 r227  
    127127    End Function
    128128
    129     Const Function Operator == (text As *StrChar) As Long
     129    Const Function Operator == (text As *StrChar) As Boolean
    130130        Return _System_StrCmp(This.Chars, text) = 0
    131131    End Function
  • TestCase/SimpleTestCase/StringTest.ab

    r226 r227  
    1010    s1 = New String("hello")
    1111
    12     UnitTest("String.GetType", obj1.GetType().Name = "String")
     12    UnitTest("String.GetType", s1.GetType().Name = "String")
    1313
    1414
Note: See TracChangeset for help on using the changeset viewer.