Limit gives wrong result



Typing

limit((x/log(x))*(x^(1/x)-1),x,inf);

should give 1 but gives inf instead.