Skip to content

Commit 412ccca

Browse files
alanzmeta-codesync[bot]
authored andcommitted
Update elp_development.md to improve declarative test example
Summary: We now include the diagnostic code in the expected diagnostic. Reviewed By: RobinMorisset Differential Revision: D86658752 fbshipit-source-id: 43f835633a0c81c15d7f43cfcdfde967db9a3178
1 parent 85c1586 commit 412ccca

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

elp_development.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,8 @@ let fixture = r#"
155155
//- /src/main.erl
156156
-module(main).
157157
158-
foo(X) ->
159-
X + undefined.
160-
%% ^^^^^^^^^ error: type mismatch
158+
foo( -> ok. %%
159+
%% ^ error: W0004: Missing ')'~
161160
"#;
162161
```
163162

0 commit comments

Comments
 (0)