Code coverage for Solidity smart-contracts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
solidity-coverage/test/sources/js/truffle-crash.js

11 lines
272 B

8 years ago
/* eslint-env node, mocha */
/* global artifacts, contract */
var Simple = artifacts.require('Simple');
// This test should break truffle because it has a syntax error.
8 years ago
contract('Simple', () => {
it('should crash', function(){
return Simple.new().then.why.
})
})