github.com/emcfarlane/larking@v0.0.0-20220605172417-1704b45ee6c3/starlib/starlarkblob/testdata/blob.star (about)

     1  load("blob.star", "blob")
     2  
     3  def test_write_all(t):
     4      b = blob.open("mem://")
     5      b.write_all("note.txt", "hello")  # a comment
     6      wrote = b.read_all("note.txt")
     7      t.eq(wrote, b"hello")