Ignore:
Timestamp:
May 22, 2009, 3:22:57 PM (11 years ago)
Author:
Sam Hocevar
Message:

Fix import/export related stuff I forgot to update in the Ruby and PHP bindings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/ruby/t/tc_canvas.rb

    r2825 r3511  
    2727    end
    2828    def test_import
    29         @c.import_memory("foo", "")
    30         assert_equal("foo\r\n", @c.export_memory("irc"), "Import/Export failed")
     29        @c.import_from_memory("foo", "")
     30        assert_equal("foo\r\n", @c.export_to_memory("irc"), "Import/Export failed")
    3131    end
    3232    def test_cursor
     
    3838        @c.put_char(1, 1, 64)
    3939        @c.clear
    40         assert_equal("", @c.export_memory("irc").strip, "Failed to clear canvas")
     40        assert_equal("", @c.export_to_memory("irc").strip, "Failed to clear canvas")
    4141    end
    4242    def test_char
Note: See TracChangeset for help on using the changeset viewer.