package mapatest import ( "fmt" "net/http" "net/url" "strings" "testing" ) // What the editor is given (level-up §6.8): the JSON island on every // editable page, the draft served as the page body, and // POST /links/resolve. L7: none of it writes. func TestTheIslandSurvivesABodyThatClosesTheScript(t *testing.T) { rig := newRig(t) body := "\n\n" acme := rig.createPage(t, Ana, "Acme", body) page := rig.page(t, Bo, acme) if strings.Count(page, "