Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
I
ink
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
parity
ink
Commits
aa918996
Unverified
Commit
aa918996
authored
Nov 10, 2019
by
Robin Freyler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[lang2/macro] fix some success tests
parent
31e94586
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lang2/macro/tests/ui/pass/03-incrementer-contract.rs
lang2/macro/tests/ui/pass/03-incrementer-contract.rs
+1
-1
lang2/macro/tests/ui/pass/04-erc20-contract.rs
lang2/macro/tests/ui/pass/04-erc20-contract.rs
+1
-1
No files found.
lang2/macro/tests/ui/pass/03-incrementer-contract.rs
View file @
aa918996
...
...
@@ -18,7 +18,7 @@ mod incrementer {
by
:
i32
,
}
impl
Flipp
er
{
impl
Increment
er
{
#[ink(constructor)]
fn
new
(
&
mut
self
,
init_value
:
i32
)
{
self
.value
.set
(
init_value
as
i64
);
...
...
lang2/macro/tests/ui/pass/04-erc20-contract.rs
View file @
aa918996
...
...
@@ -32,7 +32,7 @@ mod erc20 {
amount
:
Balance
,
}
impl
Flipper
{
impl
Erc20
{
#[ink(constructor)]
fn
new
(
&
mut
self
,
initial_supply
:
Balance
)
{
let
caller
=
self
.env
()
.caller
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment