我使用test: '>=0.12.1 <0.13.0'
库编写了飞镖单元测试。当我尝试使用Dartium运行测试时,它可以正常工作,但使用content-shell会导致错误。
pub run test test/unit -p content-shell
Failed to start content shell: Bad state: Stream has already been listened to..
我正在使用ubuntu机器和内容shell在路径中。
答案 0 :(得分:1)
我将dart和content-shell版本升级到1.11,现在正在使用。