reorder

[?]
Sep 9, 2023, 3:27 PM
C4YSIYPOHR7CSVJ35Y3FM3IUEEWCBYJ63Z5LH4LLGKVMV4AHQFMAC

Dependencies

  • [2] HOWVSTWA a few more testable file-system operations
  • [3] ED4Z6ORC cleaner API for file-system access
  • [4] JFFUF5AL override mouse state lookups in tests
  • [5] CUFW4EJL reorganize app.lua and its comments
  • [*] 3QNOKBFM beginnings of a test harness

Change contents

  • edit in app.lua at line 275
    [3.4083][3.4083:4156](),[3.4156][3.15820:15995](),[3.15995][3.4733:4737](),[3.4733][3.4733:4737]()
    function App.open_for_writing(filename)
    App.filesystem[filename] = ''
    return {
    write = function(self, s)
    App.filesystem[filename] = App.filesystem[filename]..s
    end,
    close = function(self)
    end,
    }
    end
  • edit in app.lua at line 291
    [3.5001]
    [2.130]
    function App.open_for_writing(filename)
    App.filesystem[filename] = ''
    return {
    write = function(self, s)
    App.filesystem[filename] = App.filesystem[filename]..s
    end,
    close = function(self)
    end,
    }
    end