simpletap: simplify to use parent run method

Per the TODO, use `__init__` to override the stream. There don't seem to
be any other substantial changes to the `run` method needed for TAP and
I'm assuming the additional code in the upstream `run` has been added
since this class was written.

My primary motivation was to set `result.buffer = self.buffer` in the
`run` method, which fixes the runner enough to be able to use
`breakpoint()`.

In addition, I updated the shebang in `tw-2189.t` for portability.
This commit is contained in:
ryneeverett
2023-01-28 00:42:38 -05:00
committed by Dustin J. Mitchell
parent 717e430f2e
commit 3fdc6d3662
2 changed files with 5 additions and 36 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
. bash_tap_tw.sh
task add "foo \' bar"