Skip to content

Commit

Permalink
Add Solidity Tests (#3656)
Browse files Browse the repository at this point in the history
  • Loading branch information
rzuckerm authored Dec 16, 2023
1 parent 7849a04 commit 54644a4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 7 deletions.
8 changes: 8 additions & 0 deletions archive/s/solidity/HelloWorld.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// SPDX-License-Identifier: MIT
pragma solidity ^0.8;

contract HelloWorld {
function main (string memory) public pure returns (string memory) {
return 'Hello, World!\n';
}
}
7 changes: 0 additions & 7 deletions archive/s/solidity/hello-world.sol

This file was deleted.

9 changes: 9 additions & 0 deletions archive/s/solidity/testinfo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
folder:
extension: ".sol"
naming: "pascal"

container:
image: "rzuckerm/solidity"
tag: "0.8.21-1"
build: "compile_solidity {{ source.name }}{{ source.extension }}"
cmd: "run_solidity {{ source.name }}"

0 comments on commit 54644a4

Please # to comment.