Fixed a lazySlot bug where lazy slots in different objects end up pointing to the...
[io/quag.git] / libs / iovm / tests / MiscTest.io
blob37f157aed001a76b1d603283f704dca3d4bfea55
2 MiscTest := UnitTest clone do(
3 testAssignmentMultiplicationBug := method(
4 e := try (r := 3 * 4)
5 e catch ( Exception, fail )
8 testActivate := method(
9 a := Object clone
10 a activate := method(activateWorks = true)
11 a setIsActivatable(true)
13 activateWorks := false
16 assertTrue(activateWorks)